Motorola M68000 User Manual Page 247

  • Download
  • Add to my manuals
  • Print
  • Page
    / 357
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 246
Supervisor (Privileged) Instructions
6-84 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
RTE Return from Exception RTE
(M68000 Family)
Operation: If Supervisor State
Then (SP) SR; SP + 2 SP; (SP) PC; SP + 4 SP; Restore
State and Deallocate Stack According to (SP)
Else TRAP
Assembler
Syntax: RTE
Attributes: Unsized
Description: 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 the condition code bits in the status register value restored from the
stack.
Instruction Format:
Format/Offset Word (in Stack Frame):
MC68010, MC68020, MC68030, MC68040, CPU32
Format Field of Format/Offset Word:
Contains the format code, which implies the stack frame size (including the format/
offset word). For further information, refer to Appendix B Exception Processing
Reference.
1514131211109876543210
0100111001110011
1514131211109876543210
FORMAT 0 0 VECTOR OFFSET
Page view 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 356 357

Comments to this Manuals

No comments