![Hitachi H8/3152 Скачать руководство пользователя страница 28](http://html.mh-extra.com/html/hitachi/h8-3152/h8-3152_hardware-manual_140481028.webp)
22
2.5
Instruction Set
The H8/3150 series can use a total of 55 instructions, shown grouped by function in table 2.3.
Note:
The H8/300 CPU has 57 basic instructions, but the H8/3150 series uses only 55 of them.
The MOVFPE and MOVTPE instructions are not used.
Table 2.3
Instruction Set
Function
Instructions
Types
Data transfer
MOV, PUSH*
1
, POP*
1
1
Arithmetic operations
ADD, SUB, ADDX, SUBX, INC, DEC, ADDS, SUBS, DAA,
DAS, MULXU, DIVXU, CMP, NEG
14
Logic operations
AND, OR, XOR, NOT
4
Shift
SHAL, SHAR, SHLL, SHLR, ROTL, ROTR, ROTXL,
ROTXR
8
Bit manipulation
BSET, BCLR, BNOT, BTST, BAND, BIAND, BOR, BIOR,
BXOR, BIXOR, BLD, BILD, BST, BIST
14
Branch
Bcc*
2
, JMP, BSR, JSR, RTS
5
System control
SLEEP, LDC, STC, ANDC, ORC, XORC, NOP, RTE
8
EEPROM write
EEPMOV
1
Total 55
Notes: 1. POP Rn is identical to MOV.W @SP+, Rn. PUSH Rn is identical to MOV.W Rn, @–SP.
2. Bcc is a conditional branch instruction in which cc represents a condition code.