English
Language : 

DR805X Datasheet, PDF (45/79 Pages) Digital Core Design – 8-bit RISC Microcontroller Instructions set details ver 3.10
DR805x Instructions set details
3.21. JZ
- 45 -
Instruction: JZ rel
Function: Jump if accumulator is zero
Description:
If all bits of the accumulator are zero, branch to the address indicated;
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.
Operation:
(PC) ← (PC) + 2
if (A) = 0 then
(PC) ← (PC) + rel
Bytes:
2
Cycles:
3
Encoding:
01100000
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.