Table A-1 Instruction Set (cont)
www.DataSheet4U.com
6. Branching instructions
Mnemonic
Operation
BRA d:8 (BT d:8)
—
If condition
is true then
BRA d:16 (BT d:16)
—
PC ←
BRN d:8 (BF d:8)
—
PC+d else
next;
BRN d:16 (BF d:16)
—
BHI d:8
—
BHI d:16
—
BLS d:8
—
BLS d:16
—
BCC d:8 (BHS d:8)
—
BCC d:16 (BHS d:16)
—
BCS d:8 (BLO d:8)
—
BCS d:16 (BLO d:16)
—
BNE d:8
—
BNE d:16
—
BEQ d:8
—
BEQ d:16
—
BVC d:8
—
BVC d:16
—
BVS d:8
—
BVS d:16
—
BPL d:8
—
BPL d:16
—
BMI d:8
—
BMI d:16
—
BGE d:8
—
BGE d:16
—
BLT d:8
—
BLT d:16
—
BGT d:8
—
BGT d:16
—
Addressing Mode and
Instruction Length (bytes)
Branch
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
720
Condition Code
I
H N Z
V C
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
2
— — — — — —
4
— — — — — —
No. of
*1
States
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6
4
6