Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->RTE

RTE    Return from Exception

Compatibility: 68000, 68010, 68020 and CPU32 families.


(SP) -> SR : SP + 2 -> SP : (SP) -> PC : SP + 4 -> SP


Assembler Syntax:   RTE


Size:  Unsized

Loads the processor state information stored in the exception stack frame located at the top of the stack into the processor.  The instruction examines the stack format field in the format/offset word to determine how much information must be restored.


Condition Codes:

Set according to word on stack


This is a privileged instruction