Turns out, some of the ED instruction handlers ask for current iregp and try to work with index registers, despite the disassembling part being correct and always assuming it be iregp::hl. What a shame!
Caught during falling down the rabbit hole of #21 / #22, checking for duplicate instruction disassemblies. (And yes, we do have duplicates for ld (0x0000), hl, encodings 22xxxxand ed63xxxx, and ld hl, (0x0000), 2axxxx and ed6bxxxx.)
Turns out, some of the
ED
instruction handlers ask for currentiregp
and try to work with index registers, despite the disassembling part being correct and always assuming it beiregp::hl
. What a shame!Caught during falling down the rabbit hole of #21 / #22, checking for duplicate instruction disassemblies. (And yes, we do have duplicates for
ld (0x0000), hl
, encodings22xxxx
anded63xxxx
, andld hl, (0x0000)
,2axxxx
anded6bxxxx
.)