gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 144

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
Appendix A: Instruction Set
JB
bit, rel
Jump if Bit set
Function:
If the indicated bit is a one, jump to the address indicated; otherwise proceed
Description:
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
Example:
(01010110b). The instruction sequence,
JB P1.2, LABEL1
JB ACC.2, LABEL2
will cause program execution to branch to the instruction at label LABEL2.
3
Bytes:
4
Cycles:
Encoding:
0
0
1
0
0 0 0 0
bit address
relative
JB
Operation:
(PC)
(PC) + 3
IF (bit) = 1
THEN (PC)
(PC) + rel
Page 144 of 211

Related parts for gc80c510