Hardware manual

Rev. 3.0, 09/98, page 28 of 361
2.5 Instruction Set
Table 2.3 lists the H8/300 instruction set.
Table 2.3 Instruction Classification
Function Instructions Types
Data transfer MOV, MOVTPE*
3
, MOVFPE*
3
, PUSH*
1
, POP*
1
3
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 RTE, SLEEP, LDC, STC, ANDC, ORC, XORC, NOP 8
Block data transfer EEPMOV 1
Total 57
Notes: 1. PUSH Rn is equivalent to MOV.W Rn, @SP.
POP Rn is equivalent to MOV.W @SP+, Rn.
2. B
CC
is a conditional branch instruction in which cc represents a condition code.
3. Not supported by the H8/338 Series.
The following sections give a concise summary of the instructions in each category, and indicate
the bit patterns of their object code. The notation used is defined next.