NEC 78K/0 Series User Manual page 100

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

Advertisement

RETB
[Instruction format]
[Operation]
[Operand]
None
[Flag]
Z
AC
R
R
[Description]
• This is a return instruction from the software interrupt generated with the BRK instruction.
• The data saved in the stack returns to the PC and the PSW, and the program returns from the interrupt service
routine.
• None of interrupts are acknowledged between this instruction and the next instruction to be executed.
100
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
RETB
← (SP),
PC
L
← (SP+1),
PC
H
PSW ← (SP+2),
← SP+3
SP
CY
R
User's Manual U12326EJ4V0UM
Return from Break
Return from Software Vectored Interrupt

Advertisement

Table of Contents
loading

Table of Contents