4/17/98 6-59 Addressing Modes and Data Types
BCC Branch if carry clear
Syntax: BCC rel8
Operation:
(PC) <-- (PC) + 2
if (C) = 0 then
(PC) <-- (PC + rel8*2)
(PC.0) <-- 0
Description: The branch is taken if the last arithmetic instruction (or other instruction that updates
the C flag) did not generate a carry (the carry flag contains a 0). If Carry is clear, the program
execution branches at the location of the PC, plus the specified displacement, rel8. The branch
range is +254 bytes to -256 bytes, with the limitation that the target address is word aligned in code
memory.
Note: Refer to section 6.3 for details of branch range
Size: Bit
Flags Updated: none
Bytes:2
Clocks: 6 (t) / 3 (nt)
Encoding:
1 1 1 1 0 0 0 0
rel8