z80asm

assembler for the Zilog Z80 microprocessor

Install

All systems
curl cmd.cat/z80asm.sh
Debian Debian
apt-get install z80asm
Ubuntu
apt-get install z80asm
image/svg+xml Kali Linux
apt-get install z80asm
Fedora
dnf install z80asm
Windows (WSL2)
sudo apt-get update sudo apt-get install z80asm
OS X
brew install z80asm
Raspbian
apt-get install z80asm

z80asm

assembler for the Zilog Z80 microprocessor

The Z80 microprocessor is used in old home computers, such as the ZX spectrum and MSX, and in several newer devices, such as the TI-83 graphical calculator and (a stripped down version) in the (original) GameBoy. This assembler is meant for developers who write code (in assembly) for such devices. Features include: * macros * including other sources * complex expressions (similar to bash) * labels of unlimited length * conditional compilation depending on expressions

z88dk

Z80 processor assembler and SmallC+ cross compiler

z88dk is a SmallC+ and Z80 assemler cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different z80 based machines. The name z88dk originates from the time when the project was founded and supported only the Cambridge z88 portable. Supported machines: Cambridge Computers z88, Sinclair ZX Spectrum, Sinclair ZX81, CP/M based machines, Amstrad NC100, VZ200/300, Sharp MZ series, TI calculators (TI82, TI83, TI83+, TI85, TI86), ABC80, Jupiter Ace, Xircom REX 6000, Peters Sprinter, Sam Coupe, MSX1, Spectravideo, Mattel Aquarius, Peters Sprinter, and C128 (in z80 mode) machines. Features: * Small C+ based compiler with structs, floats and other ANSI extensions * Module assembler/linker which only includes required library routines * Peephole optimizer with rulesets that reduce the size of generated code by ~30% and improve speed * Easily retargetted C library including stdio routines * Retargettable VT100 terminal * Support for over a 25 z80 based machines (see below for details)