NEC 78K/0S Series User Manual page 107

8-bit single-chip microcontroller
Table of Contents

Advertisement

BNZ
[Instruction format]
[Operation]
[Operand]
Mnemonic
BNZ
$addr16
[Flag]
Z
AC
[Description]
When Z = 0, program branches to the address specified with the operand.
When Z = 1, no processing is carried out and the subsequent instruction is executed.
[Description example]
CMP A, #55H
BNZ $0A39H; If the A register is not 0055H, program branches to 0A39H (with the start of this instruction set in
the range of addresses 09B8H to 0AB7H).
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
BNZ $addr16
PC ← PC + 2 + jdisp8 if Z = 0
Operand ($addr16)
CY
User's Manual U11047EJ3V0UM00
Branch if Not Zero
Conditional Branch with Zero Flag (Z = 0)
107

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents