silly-stuff/z80_disasm
2024-09-11 21:05:27 -04:00
..
src Add Odin templating and Z80Disasm 2024-09-11 21:05:27 -04:00
.gitignore Add Odin templating and Z80Disasm 2024-09-11 21:05:27 -04:00
README.md Add Odin templating and Z80Disasm 2024-09-11 21:05:27 -04:00
z80_disasm.csproj Add Odin templating and Z80Disasm 2024-09-11 21:05:27 -04:00

A Z80 Disassembler

The purpose of this project is to disassemble Z80 machine code as usable string.

TODO

  • Basic Disassembly
  • Extended Instructions Support
  • IX Instructions Support
  • IY Instructions Support
  • Unit Testing

About the Z80 Instruction Set

The Z80 CPU has 158 different instruction types including the 78 8080A instructions.

Instruction Types

They are categorized into:

  • Load and Exchange
  • Block Transfer and Search
  • Arithmetic and Logical
  • Rotate and Shift
  • Bit Manipulation
  • Jump, Call, and Return
  • Input/Output
  • CPU Control

Addressing Modes

  • Immediate
  • Immediate Extended
  • Modified Page Zero
  • Relative
  • Extended
  • Indexed Addressing
  • Register
  • Implied
  • Register Indirect
  • Bit

or a combination of any two modes.

Registers

Accumulators Flags
A F
B C
D E
H L