Instruction Set; Instruction Set Overview - Hitachi H8/3008 Hardware Manual

16-bit microcomputer
Table of Contents

Advertisement

2.6

Instruction Set

2.6.1

Instruction Set Overview

The H8/300H CPU has 64 types of instructions, which are classified in table 2.1.
Table 2.1
Instruction Classification
Function
Data transfer
Arithmetic operations
Logic operations
Shift operations
Bit manipulation
Branch
System control
Block data transfer
Notes: 1. POP.W Rn is identical to MOV.W @SP+, Rn.
PUSH.W Rn is identical to MOV.W Rn, @–SP.
POP.L ERn is identical to MOV.L @SP+, Rn.
PUSH.L ERn is identical to MOV.L Rn, @–SP.
2. Not available in the H8/3008.
3. Bcc is a generic branching instruction.
Instruction
1
MOV, PUSH*
, POP*
ADD, SUB, ADDX, SUBX, INC, DEC, ADDS, SUBS, DAA, DAS,
MULXU, MULXS, DIVXU, DIVXS, CMP, NEG, EXTS, EXTU
AND, OR, XOR, NOT
SHAL, SHAR, SHLL, SHLR, ROTL, ROTR, ROTXL, ROTXR
BSET, BCLR, BNOT, BTST, BAND, BIAND, BOR, BIOR, BXOR,
BIXOR, BLD, BILD, BST, BIST
3
Bcc*
, JMP, BSR, JSR, RTS
TRAPA, RTE, SLEEP, LDC, STC, ANDC, ORC, XORC, NOP
EEPMOV
1
2
, MOVTPE*
, MOVFPE*
Types
2
5
18
4
8
14
5
9
1
Total 64 types
27

Advertisement

Table of Contents
loading

Table of Contents