Hitachi H8/300H Series Programming Manual page 205

Table of Contents

Advertisement

(6) Branch Instructions
Mnemonic
Size #xx Rn @ERn @(d,ERn) @ERn+/@–ERn @aa @(d,PC) @@aa — Operation
Bcc
BRA d:8(BTd:8)
BRA d:16(BTd:16)
BRN d:8(BFd:8)
BRN d:16(BFd:16)
BHI d:8
BHI d:16
BLS d:8
BLS d:16
BCC d:8(BHS d:8)
BCC d:16(BHS d:16)
BCS d:8(BLO d:8)
BCS d:16(BLO d:16)
BNE d:8
BNE d:16
BEQ d:8
BEQ d:16
BVC d:8
BVC d:16
BVS d:8
BVS d:16
BPL d:8
BPL d:16
BMI d:8
BMI d:16
BGE d:8
BGE d:16
BLT d:8
BLT d:16
BGT d:8
BGT d:16
BLE d:8
BLE d:16
JMP
JMP @ERn
JMP @aa:24
JMP @@aa:8
Addressing Mode and Instruction Length (bytes)
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
2
4
197
Branch
condition
if condition is true then Always
PC←PC+d
else next;
Never
C V Z = 0
C V Z = 1
C = 0
C = 1
Z = 0
Z = 1
V = 0
V = 1
N = 0
N = 1
N ⊕ V = 0
N ⊕ V = 1
Z V (N ⊕ V) = 0 — — — — — —
Z V (N ⊕ V) = 1 — — — — — —
PC←ERn
PC←aa:24
2
PC←@aa:8
Condition Code
No. of States
Ad-
I
H
N Z V C
Normal vanced
— — — — — —
4
4
— — — — — —
6
6
4
— — — — — —
4
6
— — — — — —
6
4
— — — — — —
4
6
— — — — — —
6
4
— — — — — —
4
6
— — — — — —
6
4
— — — — — —
4
6
— — — — — —
6
4
— — — — — —
4
6
— — — — — —
6
4
— — — — — —
4
6
— — — — — —
6
— — — — — —
4
4
— — — — — —
6
6
— — — — — —
4
4
— — — — — —
6
6
— — — — — —
4
4
— — — — — —
6
6
— — — — — —
4
4
— — — — — —
6
6
— — — — — —
4
4
— — — — — —
6
6
— — — — — —
4
4
— — — — — —
6
6
4
— — — — — —
4
6
— — — — — —
6
4
4
6
— — — — — —
6
4
4
6
— — — — — —
6
4
— — — — — —
4
6
— — — — — —
6
— — — — — —
8
10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents