Texas Instruments MSP50C614 manual Iret Return From Interrupt, R7 R7 ±, Tos

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 200
Image 200

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

 

 

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.

4-108

Page 200
Image 200
Texas Instruments MSP50C614 Iret Return From Interrupt, R7 R7 ±, See Also RET, CALL, C cc, INTE, Intd Description, Tos