37
BC S
BC S
B
RANCH ON
C
ARRY
S
ET
When (C) = 1, (PC)
←
(PC) + 2 + REL
(C) = 0, (PC)
←
(PC) + 2
This instruction takes a branch to the appointed address if C is
1. The branch address is specified by a relative address. If C
is 0, the next instruction is executed.
No change
Op e r a t io n :
F u n c t io n :
St a t u s fla g :
Addressing mode
Relative
Statement
∆
BCS
∆
$hhll
Machine codes
B0
16
, rr
16
Byte number
2
Cycle number
2
Notes 1: rr
16
=$hhll–(
✽
+2). The rr
16
is a value in a range of –128 to +127.
2: When a branch is executed, add 2 to the cycle number.