Behavior of X/Y indexed addressing modes on the STM8
I'm trying to write an emulator for the STM8 MCU family. Most of the opcodes are implemented, but it's doing things I don't expect, and I think the problem lies in some of my addressing mode implementations. The following questions seem obvious, but ...