CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.67 RET (RETurn from subroutine)

Return the contents of PC saved in the stack. When this instruction is used in combination with the CALLV or CALL instruction, return to the next instruction to each of them.

RET (RETurn from subroutine)

Operation

(PC) ((SP)) (Word transfer) (SP) (SP) + 2 (Word addition)

Assembler format

RET

Condition code (CCR)

N

Z

V

C

 

 

 

 

-

-

-

-

 

 

 

 

+: Changed by executing instruction

-: Not changed

N:Not changed

Z:Not changed

V:Not changed

C:Not changed

Number of execution cycles: 6

Byte count: 1

OP code: 20

180

Page 192
Image 192
Fujitsu F2MC-8FX manual RET RETurn from subroutine