Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->RTD

RTD    Return and Deallocate

Compatibility: 68010, 68020 and CPU32 only.


(SP) -> PC
SP + 4 + d -> SP

Assembler Syntax:   RTD #displacement


Size:  Unsized

Pulls the program counter value from the stack and adds the sign-extended 16-bit displacement value to the stack pointer.  The previous program counter value is lost.


Condition Codes: Not Affected