111. ReTurn from Exception (PRIVILEGED)

111.1. Name

RTE -- Return from exception (PRIVILEGED)

111.2. Synopsis

        RTE

111.3. Function

SR and PC are restored by SP. All SR bits are affected.

111.4. 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 | 0 | 1 | 1 |
        -----------------------------------------------------------------

111.5. Result

        SR is set following to the restored word taken from SP.

111.6. See also

RTS RTD RTM