25 iret return from interrupt – Texas Instruments MSP50C6xx User Manual

Page 195

Advertising
background image

Individual Instruction Descriptions

4-109

Assembly Language Instructions

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

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

IRET

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.

Advertising