182
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.68 RETI (RETurn from Interrupt)
Return the contents of PS and PC saved in the stack. Return PS and PC to the state
before interrupt.
■ RETI (RETurn from Interrupt)
Operation
(PS) ← ((SP)), (PC) ← ((SP + 2)) (Word transfer)
(SP) ← (SP) + 4 (Word addition)
Assembler format
RETI
Condition code (CCR)
+: Changed by executing instruction
-: Not changed
N: Become to the saved value of N.
Z: Become to the saved value of Z.
V: Become to the saved value of V.
C: Become to the saved value of C.
Number of execution cycles: 8
Byte count: 1
OP code: 30
NZVC
++++