DOKK / manpages / debian 12 / pasmo / pasmo.1.en
PASMO(1) General Commands Manual PASMO(1)

pasmo — Z80 assembler

pasmo [options] file.asm file.bin [file.sys]

This manual page documents briefly the pasmo command.

This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the html format; see below.

pasmois a multiplatform Z80 cross-assembler, easy to compile and easy to use. It can generate object code in several formats suitable for many Z80 machines and emulators. pasmo generates fixed position code, can not be used to create relocatable object files for use with linkers.

pasmo is compatible with the syntax used in several old assemblers, by supporting several styles of numeric and string literals and by providing several names of the most used directives. However, in Pasmo the Z80 mnemonics, register and flags names and directives are reserved words, this may require changes of symbol names conflicting in some programs.

pasmo can also generate the 8086 equivalent to the z80 assembly code. It can create COM files for ms-dos, by using the binary generation mode, or CMD files for CP/M 86, by using the --cmd option. This feature is experimental, use with care.

If no options specify another, the object code format is binary without headers.

Show debug info during assembly.
-1
Show debug info during assembly, also in first pass.
Verbose. Show progress information during assembly.
Add directory to the list for searching files in INCLUDE and INCBIN.
Generate the object file in Intel HEX format.
Generate the object file in pure binary format without headers.
Generate the object file in the PRL format. Useful for CP/M Plus RSX.
Generate the object file in CP/M 86 CMD format.
Generate the object file with PLUS3DOS header (Spectrum disk).
Generate a .tap file for Spectrum emulators (tape image).
Generate a .tzx file for Spectrum emulators (tape image).
Generate a .cdt file for Spectrum emulators (tape image).
Same as --tap option but adding a Basic loader.
Same as --tzx option but adding a Basic loader.
Same as --cdt option but adding a Basic loader.
Generate the object file with Amsdos header (Amstrad CPC disk).
Generate the object file with header for use with BLOAD in MSX Basic.
The symbol table listing will include only symbols declared as PUBLIC.
Name for the header in the formats that use it. If unspecified the object file name will be used.
Direct error messages to standard ouptut instead of error output (except for errors in options).
Make identifiers case insensitive.
Autolocal mode: the labels than begins with a '_' are locals, and his ambit finishes in the next no local label or in the next PROC, LOCAL or MACRO directive.
Bracket only mode: parenthesis are reserved for expressions.
Predefine a label.
-8 --w8080
Show warnings when using Z80 instructions that does not exist in 8080.
--86
Generate 8086 code.

This manual page was written by Joost Yervante Damad joost@lumatec.be for the Debian system (but may be used by others). It is just a rerendering of the original documentation as a manual page. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.