Jul 20, 2023

Assembler for the Z80 microprocessor

z80asm is an assembler for the Z80 microprcessor. The assembler aims to be portable and complete. Of course it assembles all official mnemonics, but it also aims to assemble the unofficial mnemonics.

The assembler features the output of listing files which show the source with the assembled codes and address next to it.

It also allows outputting of label files, in a format which can be included by other assembler source files.

Other noteworthy features are complete calculation capabilities, conditional assembling of parts of the code, and inclusion of other source files.

The assembler was written with the MSX computer in mind as the target platform, but it can be used for any system with a Z80 in it. The original idea was to make header files with labels of MSX specific addresses BIOS, BDOS, system variables, but nothing like this has been done yet.

Checkout these related ports:
  • Zziplib - Library to provide transparent read access to zipped files
  • Zydis - Fast and lightweight x86/x86-64 disassembler library
  • Zycore-c - Support library with platform independent types, macros, etc for Zydis
  • Zthread - Platform-independent object-oriented C++ threading library
  • Zookeeper - Coordination Service for Distributed Applications
  • Zls - Zig LSP implementation + Zig Language Server
  • Zfp - High throughput library for compressed floating-point arrays
  • Zeal - Offline documentation browser
  • Zapcc - C++ caching compiler based on clang
  • Zanata-platform - Web-based translation platform
  • Zanata-cli - Zanata Java command line client
  • Z88dk - Complete Z80/Z180 development kit
  • Z80ex - ZiLOG Z80 CPU emulator library
  • Z80-asm - Z80 assembly code assembler and disassembler
  • Yuck - Bog-standard command line option parser for C