Chapter 2
CPU Basics
Instructions II - 11
Usually, 8-, 16-, or 32-bit immediate value, displacement, and absolute are connected after the operation code. In
the case of the above instruction formats (S2, S4, S6, D2, D3, and D5), two or more of immediate value, displace-
ment, and absolute are connected to the operation code. As a whole, these values express a 16-bit immediate value
(imm16), 24-bit immediate value (imm24), 32-bit immediate value (imm32), 40-bit immediate value (imm40),
and 48-bit immediate value (imm48). According to this expression method, the following instructions connect 16-
, 32-, 40-, and 48-bit immediate values.
imm16: RET
RETF
BTST
BSET
BCLR
regs,imm8
regs,imm8
imm8,(d8,An)
imm8,(d8,An)
imm8,(d8,An)
imm24: BTST
BSET
BCLR
imm8,(abs16)
imm8,(abs16)
imm8,(abs16)
imm32: CALL (d16,PC),regs,imm8
imm40: BTST
BSET
BCLR
imm8,(abs32)
imm8,(abs32)
imm8,(abs32)
imm48: CALL (d32,PC),regs,imm8