Fujitsu F2MC-8FX Manual Do Utilizador

Página de 272
180
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)
+: 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
N
Z
V
C
-
-
-
-