Source Program Coding
http://www.motorola.com/computer/literature 4-5
4
Numbers are recognized as binary, octal, decimal, and hexadecimal, with
hexadecimal the default case. Numbers may be represented only as
integers; floating point representations are not supported. The following
formats are acceptable:
An ASCII string is made up of one or more ASCII characters enclosed by
apostrophes (’ ’). ASCII strings are right-justified and zero-filled (if
necessary), whether stored or used as immediate operands.
The following register mnemonics are recognized/referenced by the
assembler/disassembler:
Pseudo-Registers:
Main Processor Registers:
Note that the processor registers that are not listed here are still accessible,
but instead of the register being denoted by a name, it is denoted by a
number with a specific instruction mnemonic.
Decimal a string of decimal digits (0 through 9) preceded by
an ampersand (&)
For example &12334 or -&987654321
Hexadecimal a string of hexadecimal digits (0 through 9, A
through F) preceded by an optional dollar sign ($).
For example, $AFE5
Z0-Z7 User Offset Registers - These are only recognized
during the assembly/disassembly of target addresses
(branch instructions).
R0-R31 General Purpose Registers
FR0-FR31 Floating Point Unit Data Registers
CRB0-CRB31 Condition Register Bit Field (CR/FPSCR)
CRF0-CRF7 Condition Register Field (FPSCR)
Commentaires sur ces manuels