Usage:
  z80asm [options] { @<modulefile> | <filename> }

  [] = optional, {} = may be repeated, | = OR clause.

  To assemble 'fred.asm' use 'fred' or 'fred.asm'

  <modulefile> contains list of file names of all modules to be linked,
  one module per line.

  File types recognized or created by z80asm:
    .asm   = source file
    .o     = object file
    .lis   = list file
    .bin   = Z80 binary file
    .sym   = symbols file
    .map   = map file
    .reloc = reloc file
    .def   = global address definition file

Help Options:
  -h                    Show help options
  -v                    Be verbose

Preprocessor Options:
  -IXIY                 Swap IX and IY registers
  -IXIY-soft            Swap IX and IY registers but write object as unswapped
  -I[=]DIR              Add directory to include search path
  -D[=]SYMBOL[=VALUE]   Define a static symbol in decimal or hex
  -ucase                Convert identifiers to upper case
  -raw-strings          Double-quoted strings may include any character
                        except double quotes
  -m4[=]OPTIONS         Pass options to the m4 subprocess

Code Generation Options:
  -m[=]CPU              Assemble for the specified CPU, default z80, one of:
                        *, 8080, 8080_strict, 8085, 8085_strict, 
                        ez80, ez80_strict, ez80_z80, ez80_z80_strict, 
                        gbz80, gbz80_strict, 
                        kc160, kc160_strict, kc160_z80, kc160_z80_strict, 
                        r2ka, r2ka_strict, r3k, r3k_strict, r4k, r4k_strict, 
                        r5k, r5k_strict, r6k, r6k_strict, 
                        r800, r800_strict, 
                        z180, z180_strict, z80, z80_strict, z80n, z80n_strict
  -no-synth             Do not assemble synthetic opcodes
  -float[=]FORMAT       Set default float format, one of:
                        genmath, math48, ieee16, ieee32, ieee64,
                        z80, zx81, zx, z88, mbfs, mbf40, mbf64, am9511
  -opt-speed            Optimize for speed
  -debug                Add debug info to map file

Libraries:
  -L[=]DIR              Add directory to library search path
  -x[=]FILE[.lib]       Create a library file.lib
  -l[=]FILE[.lib]       Use library file.lib

Binary Output:
  -O[=]DIR              Output directory
  -o[=]FILE             Output binary file
  -b                    Assemble and link/relocate to file.bin
  -split-bin            Create one binary file per section
  -d                    Assemble only updated files
  -R                    Create relocatable code
  -reloc-info           Generate binary file relocation information
  -r[=]ADDR             Relocate binary file to given address in decimal or hex
  -f[=]BYTE             Default value to fill in DEFS in decimal or hex

Output File Options:
  -s                    Create symbol table file.sym
  -l                    Create listing file.lis
  -m                    Create address map file.map
  -g                    Create global definition file.def

Appmake Options:
  +zx81                 Generate ZX81 .P file, origin at 16514
  +zx                   Generate ZX Spectrum .tap file, origin defaults to
                        23760 (in a REM), but can be set with -rORG >= 24000
                        for above RAMTOP
