Specifications
Saturn Options, Listings and Errors 9-5
Psy-Q Development System
X - XREFs in defined section
The default setting for this option is X- but if it is set to X+, XREFs are assumed to
be in the section in which they are defined. This allows optimisation to absolute word
addressing to be performed provided that the section is defined with the WORD
attribute or is in a Group with the WORD attribute.
# - Use # for literals (SH2 only)
The default setting for this option is #- but if it is set to #+, # is used to indicate a
literal pool instead of the default = with the SH2 Assembler. As a result, the ##
characters have to be used in front of immediate values.
OP - Optimise PC Relative
Switches to PC relative addressing from absolute long addressing if this is permissible
in the current code context.
OS - Optimise Short Branch Optimisation
Backwards relative branches will use the short form if this is permissible in the
current code context.
OW - Optimise Absolute Long Addressing
If the absolute long addressing mode is used but the address will only occupy a word,
the Assembler will switch to the short form.
If a size is specified no optimisation will take place, thus:
move.w d0(fred) .1
will be left as absolute long.
OZ - Optimise Zero Displacements
If the address register is used with a zero displacement, the Assembler will switch to
the address register indirect mode.
OAQ, OSQ and OMQ - Optimise to Quick Forms
When these options are enabled, provided that it is permissible in the current code
context, all ADD, SUB and MOVE instructions are coded as quick forms.