SDS 68K ASSEMBLER -- Basic and advanced options

Options for the assembler from Software Development Systems, Inc.

Options for the SDS 68K assembler can be found using the DOS command

as68000 -U

or using the SDS Help menu option.


Basic use of the SDS 68K assembler

The basic activation command is as68000 [options] [file.s ...]


Recommended usage

The following syntax is recommended in this LABORATORY COMPANION for assemblying 68K code. Click on each option for an explanation.

as68000 -V 68020 -f -L -m -o example.o example.s

If you develop more extensive code then the dot (.) option may prove useful.

as68000 -V 68020 -f -L -m -. -o example.o example.s


SDS 68K assembler help information

This information was generated by using as68000 -U

as68000 [options] [file.s ...]

notes:
    If more than one source file is specified, their contents are
    effectively concatenated and assembled as a single file.

environment variables:
    AS68000     additional assembler options and arguments
    COL         if defined, print column number in error messages
    TMP         directory for temporary files

options:
    -a adrsz       digits for listing addresses
    -b             suppress branch opt pass (implied from stdin)
    -c cols        columns for cross reference
    -e             extra pc-relative information in listings

    -f             full symbol table: keep LOCAL symbols
    -g             undefined symbols assumed to be imported
    -h objsz       digits for object code in listing
    -i             suppress informative messages
    -k             keep output file even on errors
    -l             generate a listing to stdout

    -m             alter comment style
    -n             with -l or -L gives a numbered listing

    -o objfile     specify output file names; arguments can be
                   a comma seperated list of any or all of:
                     list=[file]     assembly listing file
                     object=[file]   binary object file
                     file            binary object file
    -p             maintain compatibility with release 3.2
    -q             take numbers starting with 0 as octal
    -s             generate a symbol listing to stdout
    -t tabsz       interpret tabs as every this many columns
    -u             make symbols case insensitive
    -v valsz       digits for equate values in listing
    -w             suppress warning messages
    -x             generate a cross reference to stdout
    -y             like '-f' but suppresses local line number
                     and absolute symbols
    -_             strip leading underscores off symbols

    -.             control meaning of '.' in symbols
    -C             just print copyright message and release number
    -D name[=val]  command line #define for name
    -E [+]file     emit errors to a file; use + to append
    -F file        take more options and arguments from a file
    -I dir         add directory to include search path

    -L             generate a listing to file with suffix '.lst'
    -M mem_config  memory configuration options; these may be
                   a comma separated list of any or all of:
                     disk=[yes|no]    do you wish to swap to disk?
                     max_memory=n     use at most 'n' bytes of memory
                                      'n' may have suffix of 'K' or 'M'
                     scale_minimum=p  scale minimum memory by 'p'
                                      'p' must be a power of 2
    -O opt=val     set assembly time parameters
    -P             suppress assembler preprocessor
    -Q             quicker assembly but requires more memory
    -S srcfile     indicate original source of input; uses tail of name
                     for default .o and .lst names, and bfile symbol
    -U             just print usage message

   -V target      processor version (alternate instructions)


Last modified: July 12, 1996 05:34 PM by M. Smith.
Copyright -- M. R. Smith