
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.7BBC (Branch if Bit is Clear)
Branch when the value of bit b in dir memory is 0. Branch address corresponds to the value of addition between the PC value (word value) of the next instruction and the value with rel
■BBC (Branch if Bit is Clear)
Operation
(bit)b = 0: (PC) ← (PC) + 3 + rel (Word addition)
(bit)b = 1: (PC) ← (PC) + 3 (Word addition)
Assembler format
BBC dir:b, rel
Condition code (CCR)
N | Z | V | C |
|
|
|
|
- | + | - | - |
|
|
|
|
+: Changed by executing instruction
N: Not changed
Z:Set to 1 when the value of dir:b is 0 and set to 0 when it is 1.
V:Not changed
C:Not changed
Number of execution cycles: 5
Byte count: 3
OP code: B0 to B7
60