gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 169

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
RET
MiDAS1.1 Family
Description:
Operation:
Encoding:
Function:
Example:
Cycles:
Bytes:
Return from subroutine
RET pops the high-and low-order bytes of the PC successively from the stack,
decrementing the Stack Pointer by 2. Program execution continues at the
resulting address, generally the instruction immediately following an ACALL or
LCALL. No flags are affected.
The Stack Pointer originally contains the value 0Bh. Internal RAM locations 0Ah
and OBh contain the values 23h and 01h, respectively. The instruction,
RET
will leave the Stack Pointer equal to the value 09h. Program execution will
continue at Iocation 0123h.
1
2
RET
(PC
(SP)
(PC
(SP)
0
15-8
7-0
0
)
)
(SP) – 1
(SP) – 1
1
((SP))
((SP))
0
0 0 1 0
Page 169 of 211

Related parts for gc80c510