2.3.3
Instruction Formats
Table 2.3 explains the meaning of instruction formats and source and destination operands. The
meaning of the operands depends on the operation code. The following symbols are used.
xxxx:
Operation code
mmmm: Source register
nnnn:
iiii:
dddd:
Destination register
Immediate data
Displacement
Table 2.3 Instruction Formats
Source
Operand
Destination
Operand
Instruction
Example
Instruction Format
0 format
—
—
—
NOP
15
0
0
xxxx xxxx
xxxx nnnn
xxxx xxxx
xxxx xxxx
n format
nnnn: register
direct
MOVT Rn
15
Control register or nnnn: register
system register direct
STS
MACH,Rn
Control register or nnnn: register
STC.L
system register
indirect with
SR,@–Rn
pre-decrement
m format
mmmm: register
direct
Control register LDC
15
0
or system
register
Rm,SR
xxxx mmmm xxxx xxxx
mmmm: register
Control register LDC.L
indirect with post- or system
@Rm+,SR
increment
register
mmmm: register
indirect
—
JMP
@Rm
mmmm: PC-
—
BRAF Rm
relative using Rm
Rev. 5.00, 09/03, page 32 of 760