CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User’s Manual U11047EJ3V0UM00
109
BF
Branch if False
Conditional Branch by Bit Test (Byte Data Bit = 0)
[Instruction format]
BF bit, $addr16
[Operation]
PC
←
PC + b + jdisp8 if bit = 0
[Operand]
Mnemonic
Operand (bit, $addr16)
b (Number of bytes)
BF
saddr.bit, $addr16
4
sfr.bit, $addr16
4
A.bit, $addr16
3
PSW.bit, $addr16
4
[Flag]
Z
AC
CY
[Description]
•
If the 1st operand (bit) contents have been cleared (0), program branches to the address specified with the
2nd operand ($addr16).
If the 1st operand (bit) contents have not been cleared (0), no processing is carried out and the subsequent
instruction is executed.
[Description example]
BF P2.2, $1549H; When bit 2 of port 2 is 0, program branches to address 1549H (with the start of this instruction
set in the range of addresses 14C6H to 15C5H).
Summary of Contents for 78K/0S Series
Page 2: ...User s Manual U11047EJ3V0UM00 2 MEMO ...
Page 14: ...User s Manual U11047EJ3V0UM00 14 MEMO ...
Page 28: ...User s Manual U11047EJ3V0UM00 28 MEMO ...
Page 118: ...User s Manual U11047EJ3V0UM00 118 MEMO ...
Page 120: ...User s Manual U11047EJ3V0UM00 120 MEMO ...