DOKK / manpages / debian 11 / sdcc / sdasstm8.1.en
ASXXXX(1) General Commands Manual ASXXXX(1)

ASxxxx - Series of microprocessor cross assemblers for SDCC.

sdas8051 [options] file1 [file2 file3 ... file6]
sdasgb [options] file1 [file2 file3 ... file6]
sdasz80 [options] file1 [file2 file3 ... file6]
sdas6808 [options] file1 [file2 file3 ... file6]
sdas390 [options] file1 [file2 file3 ... file6]
sdasrab [options] file1 [file2 file3 ... file6]
sdasstm8 [options] file1 [file2 file3 ... file6]
sdastlcs90 [options] file1 [file2 file3 ... file6]

The information in this man page is an extract from the full documentation of SDCC, and is limited to the meaning of the options.

For complete and current documentation, refer to the ASxxxx Cross Assembler Documentation, available in /usr/share/doc/sdcc-doc/aslink.

The ASxxxx assemblers are a series of microprocessor assemblers. Each assembler has a device specific section.

MCS51 family is supported by sdas8051.
Z80family is supported by sdasz80.
GBZ80 (GameBoy Z80-like CPU) is supported by sdasgb.
Motorola 6808 family is supported by sdas6808.

The ASxxxx assemblers are command line oriented. The PC assemblers are started with the appropriate option(s) and file(s) to assemble following the assembler name.

decimal listing.
octal listing.
hex listing (default)

The listing radix affects the .lst, .rel, and .sym files.

add line number and debug information to file.
undefined symbols made global.
all user symbols made global.
create list output file1.lst.
create object output file1.rel.
create symbol output file1.sym.
generate sdcdb debug information
disable listing pagination.
wide listing format for symbol table.
enable case sensitivity for symbols.
flag relocatable references by ` in the listing file.
flag relocatable reference by mode in the listing file.
add the named directory to the include file search path. This option may be used more than once. Directories are searched in the order given.

The file name for the .lst, .rel, and .sym files is the first file name specified in the command line. All output files are ascii text files which may be edited, copied, etc. The output files are the concatenation of all the input files, if files are to be assembled independently invoke the assembler for each file.

The .rel file contains a radix directive so that the linker will use the proper conversion for this file. Linked files may have different radices.

If the list (l) option is specified without the symbol table (s) option, the symbol table is placed at the end of the listing file.

sdcc(1), aslink(1), asx8051, as-z80(1), as-gbz80(1).

This manual page was written by Aurelien Jarno <aurel32@debian.org>, for the Debian GNU/Linux system (but may be used by others).