Section 2 CPU
Rev. 3.00 Mar. 14, 2006 Page 36 of 804
REJ09B0104-0300
2.7 Instruction
Set
The H8SX CPU has 87 types of instructions. The instructions are classified by function as shown
in table 2.1. The arithmetic operation, logic operation, shift, and bit manipulation instructions are
called operation instruction in this manual.
Table 2.1
Instruction Classification
Function Instructions
Size
Types
Data transfer
MOV
B/W/L 6
MOVFPE
*
6
, MOVTPE
*
6
B
POP,
PUSH
*
1
W/L
LDM,
STM
L
MOVA
B/W
*
2
Block transfer
EEPMOV
B
3
MOVMD
B/W/L
MOVSD
B
Arithmetic
operations
ADD, ADDX, SUB, SUBX, CMP, NEG, INC, DEC
B/W/L 27
DAA,
DAS
B
ADDS,
SUBS
L
MULXU, DIVXU, MULXS, DIVXS
B/W
MULU, DIVU, MULS, DIVS
W/L
MULU/U,
MULS/U
L
EXTU,
EXTS
W/L
TAS
B
MAC
LDMAC,
STMAC
CLRMAC
Logic operations
AND, OR, XOR, NOT
B/W/L 4
Shift
SHLL, SHLR, SHAL, SHAR, ROTL, ROTR, ROTXL, ROTXR B/W/L 8
Bit manipulation
BSET, BCLR, BNOT, BTST, BAND, BIAND, BOR, BIOR,
BXOR, BIXOR, BLD, BILD, BST, BIST
B 20
BSET/EQ, BSET/NE, BCLR/EQ, BCLR/NE, BSTZ, BISTZ
B
BFLD,
BFST
B
electronic components distributor