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

#453 in Programming languages

Download history 93/week @ 2024-07-29 56/week @ 2024-08-12 14/week @ 2024-08-19 12/week @ 2024-08-26 4/week @ 2024-09-02 2/week @ 2024-09-09 4/week @ 2024-09-16 43/week @ 2024-09-23 9/week @ 2024-10-07 6/week @ 2024-10-14 1/week @ 2024-10-21 44/week @ 2024-11-04

51 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

~255–710KB
~16K SLoC