Repolode
hra1129

hra1129/zma

A command-line cross assembler for Z80 and R800 processors, built for Windows and also buildable on Linux and macOS.

Stars
25
Forks
5
Open issues
0
Last commit
6 days ago

What is it?

zma is a cross assembler that turns Z80 and R800 assembly source code into machine code. It runs as a command-line tool, which suits developers working on retro computer software, MSX-related programs, or other Z80-based targets.

The primary target platform is Windows, where the project is built with Visual Studio 2022. Linux and macOS builds are supported through a make-based build in the src/linux directory. The project includes a Japanese user manual in PDF and Markdown form, plus regression tests for operand validation and conditional assembly layout.

Key features

  • 01Assembles Z80 and R800 instruction sets from source files.
  • 02Runs as a command-line application.
  • 03Can be built on Windows with Visual Studio 2022 or on Linux and macOS with make.
  • 04Includes regression tests for invalid operands and conditional assembly layout.

Use cases

  • Building Z80 programs for MSX or other Z80-based retro systems on a modern PC.
  • Assembling Z80 code on Linux or macOS in a scripted build pipeline.
  • Verifying assembler output against existing opcode binary fixtures.

Quick start

  1. 1

    Clone the repository

  2. 2

    Build on Linux or macOS from the src/linux directory

    cd src/linux && make

Things to know

  • The README describes it as a Windows command-line application; Linux and macOS builds are secondary.
  • Documentation is primarily in Japanese.

Topics

#assembler#z80#r800#retro-computing#msx#cross-compiler#low-level

FAQ

What is zma?
A command-line cross assembler for Z80 and R800 processors, built for Windows and also buildable on Linux and macOS. zma is a cross assembler that turns Z80 and R800 assembly source code into machine code. It runs as a command-line tool, which suits developers working on retro computer software, MSX-related programs, or other Z80-based targets.
Is zma free to use? What license does it have?
zma is open source under the MIT license. Check the license terms before using it in commercial products.
Is zma still maintained?
Actively maintained. The last commit to zma was on Oct 31, 2026.
What can I use zma for?
Building Z80 programs for MSX or other Z80-based retro systems on a modern PC. Assembling Z80 code on Linux or macOS in a scripted build pipeline. Verifying assembler output against existing opcode binary fixtures.
How do I install zma?
Clone the repository Build on Linux or macOS from the src/linux directory: cd src/linux && make
Where can I get zma?
The source code and installation instructions are on GitHub: https://github.com/hra1129/zma

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects

A C++ library for low-latency machine code generation, letting programs emit x86/x64 and AArch64 instructions at runtime.

Developer Tools#jit#machine-code#assembler
4.6K+3 this week606C++ZlibWell maintainedUpdated 2 days ago