kosarev / z80

Fast and flexible Z80/i8080 emulator with C++ and Python APIs
MIT License
63 stars 10 forks source link

Wrong mnemonics for 0xFD 0xE1 #60

Closed mortenjc closed 1 month ago

mortenjc commented 1 month ago

Hey

0xfd, 0xe1 currently gives 16bc fd ; db 0xfd
16bd e1 ; pop hl

But is really

16bc ; pop iy

Cheers

mortenjc commented 1 month ago

Also I suspect this holds for push and pop for both ix and iy

dd e5

should give

push ix

kosarev commented 1 month ago

Fixed. Note that 67fc74a303f7bf7c994a2f3d512b392bb0fc03c9 renamed _Z80InstrBuilder to Z80InstrBuilder.

mortenjc commented 1 month ago

Looks good to me :-)