Specifications
2-2 Programmer’s Guide Sega
Psy-Q Development System
Assembler Command Line
During the normal development cycle, ASM68K and ASMSH may be:
• run in stand alone mode
• launched from an editing environment such as Brief - see later in this chapter
• invoked as part of the Make utility - see The Psymake Utility chapter.
When the Assemblers are run independently, the command line takes the following
form; each component of the line is then described:
Syntax ASM68K or ASMSH /switchlist source,object,symbols,listings,tempdata
or
ASM68K or ASMSH @commandfile
If the first character on the command line is an @ sign, the string following it signifies
a Psy-Q command file containing a list of Assembler commands.
Switches The assembly is controlled by inclusion of a set of switches, each preceded by a
forward slash (/). The /o switch introduces a string of assembler options; these can
also be defined in the source code, using an OPT directive. Assembler options are
described in detail in chapter 9, the available switches are listed below:
/c Produce list of code in unsuccessful conditions
/d Set Debug mode - if the object code is sent to the target
machine, do not start it.
/e n=x Assigns the value x to the symbol n.
/g Non-global symbols will be output directly to the linker
object file.