Hitachi H8/3008 Hardware Manual page 52

16-bit microcomputer
Table of Contents

Advertisement

Table 2.8
Branching Instructions
Instruction Size
Bcc
JMP
BSR
JSR
RTS
36
Function
Branches to a specified address if address specified condition is met. The
branching conditions are listed below.
Mnemonic
BRA (BT)
BRN (BF)
BHI
BLS
Bcc (BHS)
BCS (BLO)
BNE
BEQ
BVC
BVS
BPL
BMI
BGE
BLT
BGT
BLE
Branches unconditionally to a specified address
Branches to a subroutine at a specified address
Branches to a subroutine at a specified address
Returns from a subroutine
Description
Always (true)
Never (false)
High
Low or same
Carry clear (high or same) C = 0
Carry set (low)
Not equal
Equal
Overflow clear
Overflow set
Plus
Minus
Greater or equal
Less than
Greater than
Less or equal
Condition
Always
Never
C ∨ Z = 0
C ∨ Z = 1
C = 1
Z = 0
Z = 1
V = 0
V = 1
N = 0
N = 1
N ⊕ V = 0
N ⊕ V = 1
Z ∨ (N ⊕ V) = 0
Z ∨ (N ⊕ V) = 1

Advertisement

Table of Contents
loading

Table of Contents