Analog Devices adsp-2100 Manual page 86

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

3
Program Control
There is no standard PUSH PC stack instruction. To push a specific value
onto the PC stack, therefore, use the following special instruction:
TOPPCSTACK = reg;
The stack is pushed immediately, in the same cycle.
Examples:
AX0 = TOPPCSTACK;
NOP;
TOPPCSTACK = I7;
Only the following registers may be used in the special TOPPCSTACK
instructions:
ALU, MAC,
& Shifter
Registers
AX0
AX1
MX0
MX1
AY0
AY1
MY0
MY1
AR
MR0
MR1
MR
SI
SE
SR0
SR1
The Type 17 Register Move instruction is described in Chapter 15,
Instruction Set Reference. Note that TOPPCSTACK may not be used as a
register in any other instruction type!
3 – 26
{push reg contents onto PC stack}
{pop PC stack into AX0}
{push contents of I7 onto PC stack}
DAG
Registers
I0
I4
I1
I5
I2
I6
I3
I7
M0
M4
M1
M5
M2
M6
M3
M7
L0
L4
L1
L5
L2
L6
L3
L7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents