4/17/98 6-13 Addressing Modes and Data Types
Table 6.3 shows a summary of the basic addressing modes available for data transfer and
calculation related instructions.
Notes:
- Shift class includes rotates, shifts, and normalize.
- USP = User stack pointer.
* : ADDS and MOVS uses a short immediate field (4 bits).
** instructions with no operands include: BKPT, NOP, RESET, RET, RETI.
Table 6.3 Instruction Addressing Modes
Modes/
Operands
MOVX MOV CMP
ADD
ADDC
SUB
SUBB
AND
OR
XOR
ADDS
MOVS
MUL
DIV
Shift XCH bytes
R, R • • • • • • • • 2
R, [R] • • • • • • • 2
[R], R • • • • • • 2
R, [R+off8] • • • • • 3
[R+off8], R • • • • • 3
R, [R+off16] • • • • • 4
[R+off16], R • • • • • 4
R, [R+] • • • • • 2
[R+], R • • • • • 2
[R+], [R+] • 2
dir, R • • • • • 3
R, dir • • • • • • 3
dir, [R] • 3
[R], dir • 3
R, #data • • • • • • • • 2*/3/4
[R], #data • • • • • • 2*/3/4
[R+], #data • • • • • • 2*/3/4
[R+off8],
#data
• • • • • • 3*/4/5
[R+off16],
#data
• • • • • • 4*/5/6
dir, #data • • • • • • 3*/4/5
dir, dir • 4
R, USP • 2