NEC 78K/0 Series User Manual

Page 109

Advertising
background image

CHAPTER 5 EXPLANATION OF INSTRUCTIONS

109

User's Manual U12326EJ4V0UM

Branch if Not Carry

BNC

Conditional Branch with Carry Flag (CY = 0)

[Instruction format]

BNC $addr16

[Operation]

PC

PC+2+jdisp8 if CY = 0

[Operand]

Mnemonic

Operand($addr16)

BNC

$addr16

[Flag]

Z

AC

CY

[Description]

When CY = 0, data is branched to the address specified by the operand.

When CY = 1, no processing is carried out and the subsequent instruction is executed.

[Description example]

BNC $300H; When CY = 0, data is branched to 0300H (with the start of this instruction set in the range of

addresses 027FH to 037EH).

Advertising