gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 120

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
JMP
Description:
Operation:
Encoding:
@A + DPTR
Function:
Example:
Cycles:
Bytes:
Jump indirect
Add the eight-bit unsigned contents of the Accumulator with the sixteen-bit data
pointer, and load the resulting sum to the program counter. This will be the
address for subsequent instruction fetches. Sixteen-bit addition is performed
(modulo 2
higher-order bits. Neither the Accumulator nor the Data Pointer is altered. No
flags are affected.
An even number from 0 to 6 is in the Accumulator. The following sequence of
instructions will branch to one of four AJMP instructions in a jump table starting
at JMP_TBL:
JMP_TBL:
If the Accumulator equals 04h when starting this sequence, execution will jump
to label LABEL2. Remember that AJMP is a two-byte instruction, so the jump
instructions start at every other address.
1
2
JMP
(PC)
0
Preliminary
1
(A) + (DPTR)
1
16
): a carry-out from the low-order eight bits propagates through the
1
MOV
JMP
AJMP
AJMP
AJMP
AJMP
0 0 1 1
Page 120 of 187
DPTR, #JMP_TBL
@A+DPTR
LABEL0
LABEL1
LABEL2
LABEL3
Instruction Set

Related parts for gc80c520a