Individual Instruction Descriptions

4.14.25 IRET

 

Return From Interrupt

 

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

name

 

 

Clock, clk

Word, w

With RPT, clk

Class

 

 

 

 

 

 

 

 

 

 

 

IRET

 

 

2

1

N/R

5

 

 

 

 

 

 

 

 

 

Execution

PC

TOS

 

 

 

 

 

 

R7 R7 – 2

 

 

 

 

 

 

TOS

*R7

 

 

 

Flags Affected

None

 

 

 

 

 

Opcode

 

 

 

 

 

 

Instructions

IRET

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

1

1

0

1

1

1

1

0

1

0

1

1

1

1

1

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

See Also

RET, CALL, Ccc, INTE, INTD

Description

Return from interrupt. Pop top of stack to program counter.

Example 4.1

IRET

Return from interrupt service routine. If used in a called subroutine, return from subroutine.

Assembly Language Instructions

4-109

Page 195
Image 195
Texas Instruments MSP50C6xx manual Iret Return From Interrupt, Assembly Language Instructions 109