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)

N

Z

V

C

 

 

 

 

+

+

+

+

 

 

 

 

+: 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

182

Page 194
Image 194
Fujitsu F2MC-8FX manual Reti RETurn from Interrupt