Closed elmarsan closed 1 year ago
Hey elmarsan, the issue is in your implementation. Operations with (HL)
in their name like INC (HL)
, DEC (HL)
, etc. are actually referring to the byte at the memory address HL
instead of the value of HL
itself.
From the logs you've given the value of HL
is $DEF6
so the operation should increment the byte at that address.
The rgbds docs have helped me understand what operations are supposed to do.
Hey!
I'm stuck with cpu_instrs 11. I think I've found a bug in the log files.
After executing 0x34 INC (HL) the value is not incremented. (Ignore flags)