|
/Develop/Projects/zasm/Distributions/ |
| k1.spdns.de / Develop / Projects / zasm / Distributions / |
zasm is a command-line assembler for the Zilog Z80 cpu. it is available as source, which should compile on many unix-style operating systems, and as pre-compiled binary. Choose a version from the list below. Archive names indicate version, date and build host. Select a binary which matches your OS best. If it fails to run then use the source.
Quick links: Documentation, zasm online assembler, Git repository.
zasm is an assembler for the Intel i8080, Zilog Z80, Zilog/Hitachi Z180 and ZX Spectrum next cpu.
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, e.g. snapshot files and .tap and .tzx tape files.
zasm can include the generated code and accumulated cpu cycles in the list output file.
zasm has a built-in testcode runner to run automated tests after assembling your source.
zasm supports
the source can start with a BOM and with a shebang '#!' in line 1.
the source must either to be 7-bit clean or utf-8 encoded. text literals will be properly decoded.
# assemble file into myrom.bin and create plain list file
> zasm myrom.asm
# assemble file into myrom.bin and create list file with opcodes, cpu cycles and labels list
> zasm -uwy myrom.asm
# assemble source for the Intel 8080 cpu using Z80 syntax
> zasm --8080 myrom.asm
# assemble native 8080 assembler source
> zasm --asm8080 myrom.asm
# create Intel hex output
> zasm -x myrom.asm
2016-10-25: Version 4.0.19: added TextMate bundle, added #cpath to set c-compiler path in source
2017-07-15: Version 4.1.0: included ZX7 "optimal" LZ77 compression written by Einar Saukas
2018-05-27: Version 4.2.0: new #target TZX: directly write to .tzx tape files
2020-04-12: Version 4.2.7: #target BIN now stores actual segment addresses in hex files suitable for ram loaders
2020-04-13: Version 4.2.8: new command line option "--date=2020-04-13,12:34:56" for reproducible time stamps
2020-05-04: Version 4.3.0: new option --convert8080 to convert 8080 sources to Z80 syntax
2020-10-17: Version 4.4.0: built-in testcode runner for automated tests
2022-04-11: Version 4.4.9: Windows command line versions of zasm available courtesy of turbocat2001@github
2023-12-03: Version 4.4.13: allow ORG to be set back to lower address, like MASM did
2025-12-10: Version 4.5.0: support Z80next cpu (ZX Spectrum Next)
The git repository of zasm is at github.com/Megatokio/zasm. Use option --recurse-submodules when cloning because the repository contains github.com/Megatokio/Libraries as a submodule.
A cgi interface for online assembling is at cgi-bin/zasm.cgi. It allows to assemble z80 assembler source files with some include files. It can generate binary, Intel hex or Motorola S19 output and a listing, which can optionally include the generated assembler source, a label listing and accumulated cpu cycles. You can even include c source files! Don't assemble closed-source sources here. ;-)
Here you find zasm and matched versions of sdcc for OSX/BSD and Linux.
The OSX versions of zasm up version 4.0.22 were compiled on OSX 10.9. Since then they are compiled on macos 10.12 "Sierra".
If you want to include c sources and have sdcc already installed you still need "sdcc for zasm (headers and libs).zip" for the modified libs/ folder.
| Name | Letzte Änderung | Länge | |||
|---|---|---|---|---|---|
| old versions/ | 2025-12-10 17:43 | 119 | |||
| sdcc for zasm (headers and lib).zip | 2016-05-09 15:59 | 868994 | |||
| sdcc for zasm Linux.zip | 2016-05-09 15:58 | 2197835 | |||
| sdcc for zasm OSX.zip | 2016-05-09 15:57 | 1678403 | |||
| zasm-4.0.20-Linux32.zip | 2017-03-05 16:31 | 187229 | |||
| zasm-4.4.01-RasPi-Linux32-ARMv7.zip | 2020-10-19 21:26 | 194940 | |||
| zasm-4.4.08-Raspios-buster-armhf.zip | 2021-02-27 11:56 | 205995 | |||
| zasm-4.4.10-macos10.12.zip | 2023-01-22 16:30 | 253964 | |||
| zasm-4.4.12-win32 [turbocat2001].zip | 2023-08-15 11:16 | 1485952 | |||
| zasm-4.4.12-win64 [turbocat2001].zip | 2023-08-15 11:16 | 1415932 | |||
| zasm-4.4.16-Linux64.zip | 2025-01-10 18:14 | 255356 | |||
| zasm-4.4.17-Linux64.zip | 2025-09-07 18:05 | 3633963 | |||
| zasm-4.4.17-macos10.12.zip | 2025-09-04 19:07 | 3614528 | |||
| zasm-4.4.17-win64 [r2akt].zip | 2025-09-03 20:00 | 4765706 | |||
| zasm-4.5.0-Linux64.zip | 2025-12-10 17:48 | 3637684 | |||
| zasm-4.5.0-macos10.12.zip | 2025-12-11 11:39 | 3616942 | |||
| github - z88dk - math | 157 | ||||
| www.z88dk.org - forum | 131 | ||||
| Z80 Number Cruncher | 118 | ||||
| Z80.info | 91 | ||||
| zasm TextMate Bundle | 120 | ||||
| zx7 at WoS forum | 150 |
powered by vipsi - your friendly VIP Script Interpreter