NEC 78K/0S Series User Manual page 106

8-bit single-chip microcontroller
Table of Contents

Advertisement

BZ
[Instruction format]
[Operation]
[Operand]
Mnemonic
BZ
$addr16
[Flag]
Z
AC
[Description]
When Z = 1, program branches to the address specified with the operand.
When Z = 0, no processing is carried out and the subsequent instruction is executed.
[Description example]
DEC B
BZ $3C5H; When the B register is 0, program branches to 03C5H (with the start of this instruction set in the
range of addresses 0344H to 0443H).
106
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
BZ $addr16
PC ← PC + 2 + jdisp8 if Z = 1
Operand ($addr16)
CY
User's Manual U11047EJ3V0UM00
Conditional Branch with Zero Flag (Z = 1)
Branch if Zero

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents