
MOTOROLA
A-14
INSTRUCTION SET DETAILS
M68HC11
REFERENCE MANUAL
BCC
Branch if Carry Clear
BCC
(Same as BHS)
Operation:
PC
(PC) + $0002 + Rel
if (C) = 0
Description:
Tests the state of the C bit in the CCR and causes a branch if C is clear.
See BRA instruction for further details of the execution of the branch.
Condition Codes and Boolean Formulae:
None affected
Source Forms:
BCC (rel)
Addressing Modes, Machine Code, and Cycle-by-Cycle Execution:
The following table is a summary of all branch instructions.
S
—
X
—
H
—
I
N
—
Z
—
V
—
C
—
—
Cycle
BCC (INH)
Data
24
rr
—
Addr
OP
OP+1
FFFF
R/W
1
1
1
1
2
3
Test
r>m
r
≥
m
r=m
r
≤
m
r<m
r>m
r
≥
m
r=m
r
≤
m
r<m
Carry
Negative
Overflow
r=0
Always
Boolean
Z+(N
⊕
V)=0
N
⊕
V=0
Z=1
Z+(N
⊕
V)=1
N
⊕
V=1
C+Z=0
C=0
Z=1
C+Z=1
C=1
C=1
N=1
V=1
Z=1
—
Mnemonic
BGT
BGE
BEQ
BLE
BLT
BHI
BHS/BCC
BEQ
BLS
BLO/BCS
BCS
BMI
BVS
BEQ
BRA
Opcode
2E
2C
27
2F
2D
22
24
27
23
25
25
2B
29
27
20
Complementary
r
≤
m
r<m
r
≠
m
r>m
r
≥
m
r
≤
m
r<m
r
≠
m
r>m
r
≥
m
No Carry
Plus
No Overflow
r
≠
0
Never
Branch
2F
2D
26
2E
2C
23
25
26
22
24
24
2A
28
26
21
Comment
Signed
Signed
Signed
Signed
Signed
Unsigned
Unsigned
Unsigned
Unsigned
Unsigned
Simple
Simple
Simple
Simple
Unconditional
BLE
BLT
BNE
BGT
BGE
BLS
BLO/BCS
BNE
BHI
BHS/BCC
BCC
BPL
BVC
BNE
BRN