blackjetrock / z80_shield

Z80 Shield project
27 stars 7 forks source link

Instruction length #15

Open blackjetrock opened 4 years ago

blackjetrock commented 4 years ago

The get_instruction_length function can't determine length based on just a single byte opcode. It also needs to know about any 0xDD type prefix opcodes. See 0x77 as an example, it's 1 byte with no prefix and 2 bytes with a prefix. Without this working we can't use prefix opcodes in the ii code.