B.1 Addressing
B.1.2 Addressing Details
(1) Immediate value (#imm)
This format specifies the operand value directly.
•
#imm4
•
#imm8
•
#imm16
•
#imm32
(2) Compressed direct address (dir)
In this format, the operand specifies the low-order 8 bits of the memory address. Bits 8 to 15 of the
address are specified by the DPR. Bits 16 to 23 of the address are indicated by the DTB.
(3) Direct address (addr16)
In this format, the operand specifies the low-order 16 bits of the memory address. Bits 16 to 23 of the
address are indicated by the DTB.
(4) Register direct
This format specifies a direct register as the operand.
General-purpose registers
Byte:
Word:
Long word:
Dedicated registers
Accumulator: A, AL
Pointer:
Bank:
Page:
Control:
Note: Regarding the SP, either the USP or the SSP is selected and used, depending on the value of the S
bit in the CCR. In addition, in a branching instruction, the PC is implicitly specified, and is not
described in the instruction operand.
310
APPENDIX B: Instructions
R0, R1, R2, R3, R4, R5, R6, R7
RW0, RW1, RW2, RW3, RW4, RW5, RW6, RW7
RL0, RL1, RL2, RL3
SP
PCB, DTB, USB, SSB, ADB
DPR
PS, CCR, RP, ILM
MB90580 Series