a2asm(1)

NAME
a2asm - 65c02 assembler

SYNOPSIS
a2asm [-65[c]02] [-l] [-o outfile] [infile]

DESCRIPTION
a2asm assembles the input text, leaving the results in a linkable object file acceptable as input to a2link(1) and a2load(1).

If no input file is specified, stdin is used. If no output file is specified, and the input filename ends with the suffix ``.s'' or ``.S'' then the output file will have the same name with a ``.o'' suffix. Otherwise, ``a.out'' is written.

OPTIONS

-l  Generate an assembled output listing on stdout.

-65c02
    Allow all valid 65c02 instructions and addressing modes (default).

-6502
    Only allow 6502 instructions and addressing modes.

BUGS
The error descriptions can be pretty unhelpful. Please report any bugs to the address below.

SEE ALSO
a2cc(1), a2link(1), a2load(1)

AUTHOR
a2asm is Copyright (C) 1995 by Archie L. Cobbs, <archie@cs.berkeley.edu>