Skip to content
/ dez80 Public

A Z80 instruction decoding and (dis)assembly library.

License

Notifications You must be signed in to change notification settings

rzumer/dez80

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeZ80

A Z80 instruction decoding and (dis)assembly library.

Features

  • Standard Z80 instruction decoding and encoding
  • Undocumented instruction support
  • Invalid and chained opcode prefix handling
  • Implementation-independent data structures
  • Stateful and stateless instruction decoding interfaces
  • Format handlers for displaying instructions and their individual components

Use Cases

DeZ80 can function as a simple disassembler. The dez80_cli binary component provides an interface for this use case. It can also reassemble defined Instruction structs, but does not provide any text parsing functionality.

The library component is flexible enough for use in other applications, such as assemblers, debuggers, or emulators.