eiret


Returns from EI level exception (Return from Trap or Interrupt)

[Syntax]

-

eiret

[Function]

Returns execution from an EI level exception. The return PC and PSW are loaded from the EIPC and EIPSW registers and set in the PC and PSW, and control is passed.

If EP = 0, it means that interrupt (EIINTn) processing has finished, so the corresponding bit of the ISPR register is cleared.

[Description]

-

The assembler generates one eiret machine instruction.

[Flag]

CY

Value read from EIPSW is set

OV

Value read from EIPSW is set

S

Value read from EIPSW is set

Z

Value read from EIPSW is set

SAT

Value read from EIPSW is set