15
Table 1-7.
Branching Instructions
Instruction
Size
Function
Bcc
--
Branches if condition cc is true. The branching conditions are as follows.
Mnemonic
Description
Condition
BRA (BT)
Always (True)
Always
BRN (BF)
Never (False)
Never
BHI
High
C
∨
Z = 0
BLS
Low or Same
C
∨
Z = 1
BCC (BHS)
Carry Clear (High
or Same)
C = 0
BCS (BLO)
Carry Set (Low)
C = 1
BNE
Not Equal
Z = 0
BEQ
Equal
Z = 1
BVC
Overflow Clear
V = 0
BVS
Overflow Set
V = 1
BPL
Plus
N = 0
BMI
Minus
N = 1
BGE
Greater or Equal
N
⊕
V = 0
BLT
Less Than
N
⊕
V = 1
BGT
Greater Than
Z
∨
(N
⊕
V) = 0
BLE
Less or Equal
Z
∨
(N
⊕
V) = 1
JMP
--
Branches unconditionally to a specified address.
BSR
--
Branches to a subroutine at a specified displacement from the current
address.
JSR
--
Branches to a subroutine at a specified address.
RTS
--
Returns from a subroutine.
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...