Rev. 1.0, 09/01, page 33 of 904
2.6
Instruction Set
The H8S/2000 CPU has 65 types of instructions. The instructions are classified by function as
shown in table 2.1.
Table 2.1
Instruction Classifcation
Function
Instructions
Size
Types
MOV
B/W/L
5
POP
*
1
, PUSH
*
1
W/L
LDM, STM
L
Data transfer
MOVFPE
*
3
, MOVTPE
*
3
B
ADD, SUB, CMP, NEG
B/W/L
19
ADDX, SUBX, DAA, DAS
B
INC, DEC
B/W/L
ADDS, SUBS
L
MULXU, DIVXU, MULXS, DIVXS
B/W
EXTU, EXTS
W/L
Arithmetic
operations
TAS
*
4
B
Logic operations
AND, OR, XOR, NOT
B/W/L
4
Shift
SHAL, SHAR, SHLL, SHLR, ROTL, ROTR, ROTXL,
ROTXR
B/W/L
8
Bit manipulation
BSET, BCLR, BNOT, BTST, BLD, BILD, BST, BIST, BAND,
BIAND, BOR, BIOR, BXOR, BIXOR
B
14
Branch
B
CC
*
2
, JMP, BSR, JSR, RTS
–
5
System control
TRAPA, RTE, SLEEP, LDC, STC, ANDC, ORC, XORC,
NOP
–
9
Block data transfer EEPMOV
–
1
Total: 65
Notes: B: Byte size; W: Word size; L: Longword size.
1. POP.W Rn and PUSH.W Rn are identical to MOV.W @SP+, Rn and MOV.W Rn, @-
SP. POP.L ERn and PUSH.L ERn are identical to MOV.L @SP+, ERn and MOV.L ERn,
@-SP.
2. B
CC
is the general name for conditional branch instructions.
3. Cannot be used in this LSI.
4. Only register ER0, ER1, ER4, or ER5 should be used when using the TAS instruction.
Summary of Contents for H8S/2376 F-ZTAT
Page 24: ...Rev 1 0 09 01 page xxiv of xliv ...
Page 38: ...Rev 1 0 09 01 page xxxviii of xliv ...
Page 44: ...Rev 1 0 09 01 page xliv of xliv ...
Page 60: ...Rev 1 0 09 01 page 16 of 904 ...
Page 96: ...Rev 1 0 09 01 page 52 of 904 ...
Page 116: ...Rev 1 0 09 01 page 72 of 904 ...
Page 148: ...Rev 1 0 09 01 page 104 of 904 ...
Page 284: ...Rev 1 0 09 01 page 240 of 904 ...
Page 422: ...Rev 1 0 09 01 page 378 of 904 ...
Page 634: ...Rev 1 0 09 01 page 590 of 904 ...
Page 656: ...Rev 1 0 09 01 page 612 of 904 ...
Page 668: ...Rev 1 0 09 01 page 624 of 904 ...
Page 780: ...Rev 1 0 09 01 page 736 of 904 ...
Page 796: ...Rev 1 0 09 01 page 752 of 904 ...
Page 806: ...Rev 1 0 09 01 page 762 of 903 ...
Page 808: ...Rev 1 0 09 01 page 764 of 904 ...
Page 921: ...Rev 1 0 09 01 page 877 of 904 ø tBRQOD tBRQOD Figure 24 24 External Bus Request Output Timing ...
Page 938: ...Rev 1 0 09 01 page 894 of 904 ...