Fujitsu F2MC-8FX Manual Do Utilizador

Página de 272
60
CHAPTER 6  DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.7
BBC (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 code-extended (word value).
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)
+: Changed by executing instruction
-: Not changed
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
N
Z
V
C
-
+
-
-