NEC 78K/0 Series User Manual page 98

Nec computer hardware user's manual
Hide thumbs Also See for 78K/0 Series:
Table of Contents

Advertisement

RET
[Instruction format]
[Operation]
[Operand]
None
[Flag]
Z
AC
[Description]
• This is a return instruction from the subroutine call made with the CALL, CALLF and CALLT instructions.
• The word data saved to the stack returns to the PC, and the program returns from the subroutine.
98
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
RET
← (SP),
PC
L
← (SP+1),
PC
H
SP ← SP+2
CY
User's Manual U12326EJ4V0UM
Return
Return from Subroutine

Advertisement

Table of Contents
loading

Table of Contents