beautypg.com

Instruction formats and opcodes instruction fields, Pop d3 – Freescale Semiconductor StarCore SC140 User Manual

Page 662

background image

A-348

SC140 DSP Core Reference Manual

POP

Status and Conditions that Affect Instruction

Status and Conditions Changed By Instruction

Example

pop d3

Instruction Formats and Opcodes

Instruction Fields

Register Address

Bit Name

Description

SR[18]

EXP

Determines which stack pointer used, and which execution working
mode .

Register Address

Bit Name

Description

Ln

L

Pops of extensions restore the Ln bit in the destination register. Pops to
data registers clear the Ln bit.

Register/Memory Address

Before

After

SR

$00E00000

NSP

$00000010

$00000008

$0000000C

$2E03FF4E

L3:D3

$0:$002E03FF4E

Instruction

Words

Cycles

1

Note 1: An extra cycle is added if the shadow SP is not valid when the POP instruction is executed. See

Section 5.5.4, “Shadow Stack Pointer Registers,”

Type

Opcode

15

8

7

0

POP

De

1

1

4

1

0

0

1

E

E

E

0

0

0

1

E

0

0

E

1

15

8

7

0

POP

Do

1

1

4

1

0

0

1

e

e

e

1

0

0

1

e

0

0

e

1