Branching Instructions; Table 2.9 Branching Instructions - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

2.5.6

Branching Instructions

Table 2.9 describes the branching instructions. Figure 2.8 shows their object code formats.
Table 2.9
Branching Instructions
Instruction
Size
Bcc
JMP
BSR
JSR
RTS
Function
Branches to the designated address if condition cc is true. The
branching conditions are given 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
Rev. 6.00 Aug 04, 2006 page 65 of 680
Section 2 CPU
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
REJ09B0145-0600

Advertisement

Table of Contents
loading

Table of Contents