1 stable release

4.0.1 Feb 18, 2024
4.0.0 Feb 7, 2024
3.0.1 Feb 7, 2024
3.0.0 Sep 4, 2020
0.3.2 Aug 29, 2020

#195 in Programming languages

Download history 11/week @ 2023-12-24 12/week @ 2024-01-07 2/week @ 2024-01-14 39/week @ 2024-01-28 36/week @ 2024-02-04 20/week @ 2024-02-11 310/week @ 2024-02-18 51/week @ 2024-02-25 39/week @ 2024-03-03 64/week @ 2024-03-10 6/week @ 2024-03-17 16/week @ 2024-03-24 72/week @ 2024-03-31

96 downloads per month

MIT license

78KB
1.5K SLoC

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.


lib.rs:

Provides Z80 disassembly and analysis models and functions.

Dependencies

~0.4–0.9MB
~20K SLoC