Specifications

Saturn Syntax of Assembler Statements3-
11
Psy-Q Development System
RADIX
Description The Assemblers default to a base of 10 for integers. This may be changed by
preceding individual numbers with the characters % or $, to change the base for that
integer to binary or hex. Alternatively, the RADIX directive can be used to change
the default base.
Syntax RADIX newbase
Remarks
Acceptable values for the new base are in the range of 2 to 16.
Whatever the current default, the operand of the RADIX directive is evaluated to
a decimal base.
The AN assembler option (see chapter 9) will not be put into effect if the default
RADIX is greater than 10, since the signifiers B and D are used as digits in
hexadecimal notation.
Examples radix 8
sets the default base to OCTAL.