ReTurn and Deallocate parameter stack frame
NAME
RTD -- Return and deallocate parameter stack frame (68010+)
SYNOPSIS
RTD #<offset>
FUNCTION
PC is subtracted from stack and replace old PC address.
Then offset is added to SP value.
This instruction is useful to restore reserved space memory of
stored arguments at time sub-routine is called.
FORMAT
-----------------------------------------------------------------
|15 |14 |13 |12 |11 |10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 |
|---------------------------------------------------------------|
| 16 BITS OFFSET |
-----------------------------------------------------------------
"16 BITS OFFSET" is a signed 16 bits value to add to SP.
RESULT
None.
SEE ALSO
RTS RTE RTM
HTML Conversion by AG2HTML.pl V2.941126c, perl $RCSfile: rtd.HTML,v $$Revision: 1.1 $$Date: 1999/09/14 21:14:12 $
Patch level: 36
& witbrock@cs.cmu.edu