Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->RTE

RTE    Return from Exception

If Supervisor State then
    2 + (SP) . SR; 4 + (SP) . PC; SP + 8 . SP
    Adjust stack according to format
Else Privilege Violation Exception


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. Note that this instruction synchronizes the pipeline.

Condition Codes:

Set according to word on stack


This is a privileged instruction