83
RTS
RTS
R
E
T
URN FROM
S
UBROUTINE
Op e r a t io n :
F u n c t io n :
St a t u s fla g :
(PC
L
)
←
(M(S))
(S)
←
(S) + 1
(PC
H
)
←
(M(S))
(PC)
←
(PC) + 1
This instruction increments S by one and stores the contents of
the memory location designated by S in PC
L
. S is again
incremented by one and the contents of the memory location is
stored in PC
H
. PC is incremented by 1.
No change
Addressing mode
Implied
Statement
∆
RTS
Machine codes
60
16
Cycle number
6
Byte number
1