man xa (Commandes) - 65xx/65816 cross-assembler

NAME

xa - 65xx/65816 cross-assembler

SYNOPSIS

xa [OPTION]... FILE

DESCRIPTION

xa is a cross-assembler for the 8-bit processors in the 65xx-series and the 16-bit 65816 processor.

OPTIONS

-v
Verbose output
-x
Use old filename behaviour (overrides `-o', `-e', `-l')
-C
No CMOS-opcodes
-W
No 65816-opcodes (default)
-w
Allow 65816-opcodes
-B
Show lines with block open/close
-c
Produce o65 object files instead of executable files (no linking performed)
-o filename
Set output filename, default is `a.o65'; use a filename of `-' to output to stdout
-e filename
Set errorlog filename, default is none
-l filename
Set labellist filename, default is none
-r
Add cross-reference list to labellist (requires `-l')
-M
Allow ``:'' to appear in comments; for MASM compatibility
-R
Start assembler in relocating mode
-Llabel
Defines label as absolute, undefined label even when linking
-b? addr
Set segment base for segment `?' to `addr'. `?' should be one of t(ext), d(ata), b(ss), and z(ero) segment
-A addr
Make text segment start at an address such that when the file starts at addr, relocation is not necessary. Overrides `-bt'; other segments still have to be taken care of with `-b?'
-G
Suppress list of exported globals
-DDEF=TEXT
Define a pre-processor replacement
-Idir
Add directory `dir' to the include path (before XAINPUT)
--help
Show summary of options
--version
Show version of program

ENVIRONMENT

xa utilises the following environment variables, if they exist:

XAINPUT
Include file path; components should be separated by `,'
XAOUTPUT
Output file path

SEE ALSO

AUTHOR

This manual page was written by David Weinehall <tao@acc.umu.se>.