English
Language : 

DR805X Datasheet, PDF (42/79 Pages) Digital Core Design – 8-bit RISC Microcontroller Instructions set details ver 3.10
DR805x Instructions set details
3.18. JNB
- 42 -
Instruction: JNB bit,rel
Function: Jump if bit is not set
Description:
If the indicated bit is a zero, branch to the indicated address; otherwise
proceed with the next instruction. The branch destination is computed
by adding the signed relative-displacement in the third instruction byte
to the PC, after incrementing the PC to the first byte of the next
instruction. The bit tested is not modified. No flags are affected.
Operation:
(PC) ← (PC) + 3
if (bit) = 0 then
(PC) ← (PC) + rel.
Bytes:
3
Cycles:
4
Encoding:
00110000
bit address
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.