gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 117

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
MiDAS1.0 Family
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 117 of 187

Related parts for gc80c520a