gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 148

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
JNB
Description:
Operation:
Encoding:
bit, rel
Function:
Example:
Cycles:
Bytes:
Jump if Bit Not set
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.
The data present at input port 1 is 11001010b. The Accumulator holds 56h
(01010110b). The instruction sequence,
JNB
JNB
will cause program execution to continue at the instruction at label LABEL2.
3
4
JNB
(PC)
IF (bit) = 0
0
THEN (PC)
0
(PC) + 3
P1.3, LABEL1
ACC.3, LABEL2
1
1
0 0 0 0
(PC) + rel
Page 148 of 211
bit address
Appendix A: Instruction Set
relative

Related parts for gc80c510