summaryrefslogtreecommitdiff
path: root/decoders/z80/tables.py
AgeCommit message (Collapse)Author
2014-02-27z80: Output jump offsets relative to instruction start.Daniel Elstner
Most assemblers recognize the symbol $ for the address of the current instruction. Make use of this to output relative jump instructions using the $[+-]offset syntax, with offset being the displacement minus the instruction length.
2014-02-27z80: Format hex numbers with leading zero if necessary.Daniel Elstner
Assembler syntax requires that all numbers start with a decimal digit. Introduce a custom 'H' format for prefixing a leading 0 to hexadecimal numbers that would otherwise start with a letter.
2014-02-24z80: New decoder for disassembling Z80 CPU instructions.Daniel Elstner