Changes

Z80

99 bytes removed, 09:16, 4 September 2024
/* Oddities */
* All CB-prefixed opcodes and half of the standard opcodes (from &40 to &BF) follow a uniform layout. The exception is the HALT instruction (opcode &76), which replaces the expected LD (HL),(HL) instruction.
* Despite having different names and opcodes, RETI and RETN are in fact the exact same instruction
* RST instructions are just a CALL instruction to a fixed address baked in the instruction itself
* Despite what the syntax of the instructions JP (HL/IX/IY) suggests, PC will be loaded with the contents of the register itself, not the indexed value. Those instructions should be understood as JP HL/IX/IY
13,173
edits