term% cat index.txt 2A(1) General Commands Manual 2A(1)
NAME
2a, 6a, 8a, ka, va, xa - assemblers
SYNOPSIS
2a [ option ... ] [ name ... ]
6a [ option ... ] [ name ... ]
8a [ option ... ] [ name ... ]
ka [ option ... ] [ name ... ]
va [ option ... ] [ name ... ]
xa [ option ... ] [ name ... ]
DESCRIPTION
2a, 6a, 8a, ka, va, and xa assemble the named files into MC68020, i960,
i386, SPARC, MIPS, and ATT3210 object files. The assemblers handle the
most common C preprocessor directives and the associated command-line
options -D and -I. Other options are:
-o obj Place output in file obj (allowed only if there is just one in‐
put file). Default is to take the last element of the input
path name, strip any trailing .s, and append .O, where O is
first letter of the assembler's name.
FILES
The directory /sys/include is searched for include files after machine-
dependent files in /$objtype/include.
SOURCE
/sys/src/cmd/2a, etc.
SEE ALSO
2c(1), 2l(1).
Rob Pike, ‘‘A manual for the Plan 9 assembler''
2A(1)