Renesas H8/300 Series Programming Manual page 21

Table of Contents

Advertisement

Table 1-8. Branching Instructions
Instruction Size
Bcc
JMP
BSR
JSR
RTS
Function
Branches if condition cc is true.
Mnemonic
cc Field
0 0 0 0
BRA (BT)
0 0 0 1
BRN (BF)
0 0 1 0
BHI
0 0 1 1
BLS
0 1 0 0
BCC (BHS)
0 1 0 1
BCS (BLO)
0 1 1 0
BNE
0 1 1 1
BEQ
1 0 0 0
BVC
1 0 0 1
BVS
1 0 1 0
BPL
1 0 1 1
BMI
1 1 0 0
BGE
1 1 0 1
BLT
1 1 1 0
BGT
1 1 1 1
BLE
Branches unconditionally to a specified address.
Branches to a subroutine at a specified address.
Branches to a subroutine at a specified displacement from the current
address.
Returns from a subroutine.
Description
Always (True)
Never (False)
High
Low or Same
Carry Clear
(High or Same)
Carry Set (Low) C = 1
Not Equal
Equal
Overflow Clear V = 0
Overflow Set
Plus
Minus
Greater or Equal N ⊕ V = 0
Less Than
Greater Than
Less or Equal
15
Condition
Always
Never
C ∨ Z = 0
C ∨ Z = 1
C = 0
Z = 0
Z = 1
V = 1
N = 0
N = 1
N ⊕ V = 1
Z ∨ (N ⊕ V) = 0
Z ∨ (N ⊕ V) = 1

Advertisement

Table of Contents
loading

Table of Contents