gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 144

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
RET
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
Preliminary
0
)
(SP) – 1
(SP) – 1
1
((SP))
((SP))
0
0 0 1 0
Page 144 of 187
Instruction Set

Related parts for gc80c520a