NEC 78K/0 Series User Manual page 113

Nec computer hardware user's manual
Hide thumbs Also See for 78K/0 Series:
Table of Contents

Advertisement

BF
[Instruction format]
[Operation]
[Operand]
Mnemonic
Operand(bit,$addr16)
BF
saddr.bit, $addr16
sfr.bit, $addr16
A.bit, $addr16
PSW.bit, $addr16
[HL].bit, $addr16
[Flag]
Z
AC
[Description]
• If the 1st operand (bit) contents have been cleared (0), data is branched to the address specified by 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, data is branched to address 1549H (with the start of this instruction
set in the range of addresses 14C6H to 15C5H).
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
BF bit, $addr16
PC ← PC+b+jdisp8 if bit = 0
CY
User's Manual U12326EJ4V0UM
Conditional Branch by Bit Test (Byte Data Bit = 0)
b(Number of bytes)
4
4
3
4
3
Branch if False
113

Advertisement

Table of Contents
loading

Table of Contents