beautypg.com

Instruction formats and opcodes instruction fields, Popn d6.e:d7.e – Freescale Semiconductor StarCore SC140 User Manual

Page 665

background image

POPN

SC140 DSP Core Reference Manual

A-351

Status and Conditions that Affect Instruction

Status and Conditions Changed By Instruction

Example

popn d6.e:d7.e

Instruction Formats and Opcodes

Instruction Fields

POPN De

Restores data register extension pairs, even registers, and loop start registers from the normal stack. Data
register extension pairs are popped the same as even numbered registers.

POPN Do

Restores modifier control, odd registers, and loop counter registers from the normal stack.

Register Address

Bit Name

Description

SR[18]

EXP

Determines 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

NSP

$00000010

$00000008

$00000008

$000000FF

L6:D6

$0:$FF00000000

L7:D7

$0:$0000000000

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.3.3, “Shadow Stack Pointer Registers.”

Type

Opcode

15

8

7

0

POPN De

1

1

4

1

0

0

1

E

E

E

0

0

0

1

E

0

1

E

1

15

8

7

0

POPN Do

1

1

4

1

0

0

1

e

e

e

1

0

0

1

e

0

1

e

1