9
1.3
Instructions
Features:
•
The H8/300L CPU has a concise set of 55 instructions.
•
A general-register architecture is adopted.
•
All instructions are 2 or 4 bytes long.
•
Fast multiply/divide instructions and extensive bit manipulation instructions are supported.
•
Eight addressing modes are supported.
1.3.1
Types of Instructions
Table 1-1 classifies the H8/300L instructions by type. Section 2, Instruction Set, gives detailed
descriptions.
Table 1-1.
Instruction Classification
Function
Instructions
Types
Data transfer
MOV, POP*, PUSH*
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**, JMP, BSR, JSR, RTS
5
System control
RTE, SLEEP, LDC, STC, ANDC, ORC, XORC, NOP
8
Block data transfer
EEPMOV
1
Total
55
*
POP Rn is equivalent to MOV.W @SP+, Rn.
PUSH Rn is equivalent to MOV.W Rn, @-SP.
**
Bcc is a conditional branch instruction in which cc represents a condition.
1.3.2
Instruction Functions
Tables 1-2 to 1-9 give brief descriptions of the instructions in each functional group. The
following notation is used.
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...