DR805x Instructions set details
- 44 -
3.20.
JNZ
JNZ rel
Jump if accumulator is not zero
If any bit of the accumulator is a one, branch to the indicated address;
otherwise proceed with the next instruction. The branch destination is
computed by adding the signed relative-displacement in the second
instruction byte to the PC, after incrementing the PC twice. The
accumulator is not modified. No flags are affected.
(PC)
←
(PC) + 2
if (A)
≠
0
then (PC)
←
(PC) + rel.
2
3
Instruction:
Function:
Description:
Operation:
Bytes:
Cycles:
Encoding:
0
1
1
1
0
0
0
0
relative address
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.