Mnemonics And Delimiters - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

4.2.1.4 Mnemonics and Delimiters

The assembler recognizes all M68300 Family instruction mnemonics. Numbers are recognized as
binary, octal, decimal, and hexadecimal, with hexadecimal as the default case.
Decimal values are preceded by an ampersand (&). Examples are:
&12334
-&987654321
Hexadecimal values are preceded by a dollar sign ($). An example is:
$AFE5
One or more ASCII characters enclosed by single quote marks ( ' ) constitute an ASCII string.
ASCII strings are right-justified and zero filled (if necessary), whether stored or used as
immediate operands.
00003000
005000
005002
005008
The following register mnemonics are recognized/referenced by the assembler/disassembler:
R0-R7
User Offset Registers.
PC
Program Counter - Used only in forcing program counter-relative addressing.
SR
Status Register
CCR
Condition Codes Register (Lower eight bits of SR)
USP
User Stack Pointer
SSP
System Stack Pointer
VBR
Vector Base Register
SFC
Source Function Code Register
DFC
Destination Function Code Register
D0-D7
Data Registers
A0-A7
Address Registers - Address register A7 represents the active system stack
pointer, that is, either USP or SSP, as specified by the S bit of the status
register
M68CPU32BUG/D
21FC0000 12345678
0053
223C41424344
3536
Pseudo Registers
Main Processor Registers
MOVE.L
#$1234,($5678).W
DC.W
'S'
MOVE.L
#'ABCD',D1
DC.W
'56'
4-5
ASSEMBLER/DISASSEMBLER

Advertisement

Table of Contents
loading

Table of Contents