Changes

Z80

10 bytes removed, 21:13, 3 September 2024
/* Oddities */
== Oddities ==
* All CB-prefixed opcodes and half of the standard opcodes (from &40 to &BF) follow a perfectly 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
13,173
edits