Zilog Z16F2810 User Manual

Page 127

Advertising
background image

UM018809-0611

IRET Instruction

ZNEO

®

CPU Core

User Manual

111

If IRET chains to another interrupt service routine, it clears the IRQE flag and leaves all other
flags unchanged.

Syntax and Opcodes

Example

Before:

PC=0035_292EH, SP=FFFF_DB1CH, FFFF_DB21H=Pre-interrupt Flags,

FFFF_DB20H=00H, FFFF_DB1CH=0000_0454H

IRET

;Object Code: FFFD

After:

PC=0000_0454H, Flags=Pre-interrupt state, SP=FFFF_DB22H

Instruction, Operands

Word 0

Word 1

Word 2

IRET

FFFDH

Advertising
This manual is related to the following products: