English
Language : 

HD6433308 Datasheet, PDF (63/349 Pages) Hitachi Semiconductor – Hitachi Single-Chip MicroComputer
3.5.6 Branching Instructions
Table 3-7 describes the branching instructions. Figure 3-8 shows their object code formats.
Table 3-7. Branching Instructions
Instruction
Bcc
Size Function
— Branches if condition cc is true.
Mnemonic
BRA (BT)
BRN (BF)
BHI
BLS
BCC (BHS)
BCS (BLO)
BNE
BEQ
BVC
BVS
BPL
BMI
BGE
BLT
BGT
BLE
cc Field
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
Description
Always (True)
Never (False)
High
Low or Same
Carry Clear
(High or Same)
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=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
JMP
— Branches unconditionally to a specified address.
JSR
— Branches to a subroutine at a specified address.
BSR
— Branches to a subroutine at a specified displacement from the current
address.
RTS
— Returns from a subroutine
47