gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 147

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
JMP
MiDAS1.1 Family
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
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 147 of 211
DPTR, #JMP_TBL
@A+DPTR
LABEL0
LABEL1
LABEL2
LABEL3

Related parts for gc80c510