Skip to content

neogeo-mzs/zasm

 
 

Repository files navigation

zasm - Z80, 8080 and Z180 assembler

WARNING!! This fork's only change is the fact that reusable labels must now start with a letter instead than a digit.
It'll likely become out of date eventually.
Also, you'll have to recompile this on your own for the projects that need this, since the compiled executables are the unforked ones.

Features

zasm accepts source code using 8080 and Z80 syntax and can convert 8080 syntax to Z80.
zasm supports various historically used syntax variants and the syntax emitted by sdcc.

zasm can generate binary files or Intel Hex or Motorola S19 files.
zasm can generate various specialized files for Sinclair and Jupiter Ace and .tzx tape files.
zasm can include the generated code and accumulated cpu cycles in the list output file.
zasm can run automated tests on the generated code.

zasm supports

  • character set conversion, e.g. for the ZX80 and ZX81 and proper decoding of utf-8 in text literals.
  • multiple code segments
  • including and compiling of c source with sdcc.
  • automatic label resolving from libraries
  • automatic compression using ZX7
  • well known illegal instructions
  • multiple instructions per line using '\' separator

the source can start with a BOM and with a shebang '#!' in line 1.
the source (text literals) must either to be 7-bit clean or utf-8 encoded.

New in version 4.4

Run automated tests on the generated code.

Web links

Project web page: k1.spdns.de.
There you can download Binaries for OSX and Linux and some older versions for other OSes
and there you find the Documentation and an online assembler.

Packages

No packages published

Languages

  • Assembly 88.6%
  • C++ 6.9%
  • C 4.0%
  • Makefile 0.2%
  • QMake 0.2%
  • HTML 0.1%