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 I'm just trying to confirm.
According to the STM8 programmer's manual PM0044, short indexed addressing modes with X/Y allow only a 00..1FE address range. So this means that only the low bytes of X/Y are used as the index, correct?
Also, the no offset indexed addressing modes are said to have an 00..FF address range. So same deal? Only use the low bytes of the index registers X/Y?