Table 2.8 Branch Instructions - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Section 2 CPU
Table 2.8
Branch Instructions
Instruction
Size
Bcc
JMP
BSR
JSR
RTS
Rev. 3.00 Jul. 14, 2005 Page 44 of 986
REJ09B0098-0300
Function
Branches to a specified address if a specified condition is true. The
branching conditions are listed below.
Mnemonic
Description
BRA (BT)
Always (true)
BRN (BF)
Never (false)
BHI
High
BLS
Low or same
BCC (BHS)
Carry clear
(high or same)
BCS (BLO)
Carry set (low)
BNE
Not equal
BEQ
Equal
BVC
Overflow clear
BVS
Overflow set
BPL
Plus
BMI
Minus
BGE
Greater or equal
BLT
Less than
BGT
Greater than
BLE
Less or equal
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
Condition
Always
Never
C ∨ Z = 0
C ∨ 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 ∨ (N ⊕ V) = 0
Z ∨ (N ⊕ V) = 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents