Changes

Z80

92 bytes added, 13:43, 2 September 2024
/* Oddities */
== Oddities ==
* Despite having different names and opcodes, RETI and RETN are in fact the exact same instruction
* INC and DEC instructions don't affect the carry flag, even though they modify other flags
* RST instructions are just a CALL instruction to a fixed address baked in the instruction itself
* Contrarily to what the syntax of the instructions JP (HL/IX/IY) suggest, 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