Push|Pop Stacks /Flush Cache - Analog Devices ADSP-2106x SHARC User Manual

Table of Contents

Advertisement

Miscellaneous
A
Instruction Set Reference
push|pop stacks / flush cache
Syntax:
PUSH
LOOP ,
POP
Function:
Pushes or pops the loop address and loop counter stacks, the status stack,
and/or the PC stack, and/or clear the instruction cache. Any of these
options may be combined in a single instruction.
Flushing the instruction cache invalidates all entries in the cache, with no
latency—the cache is cleared at the end of the cycle.
Examples:
PUSH LOOP, PUSH STS;
POP PCSTK, FLUSH CACHE;
Opcode:
47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
0 0 0
1 0 1 1 1
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LPU pushes the loop stacks. LPO pops the loop stacks. SPU pushes the
status stack. SPO pops the status stack. PPU pushes the PC stack. PPO
pops the PC stack. FC causes a cache flush.
A – 50
www.BDTIC.com/ADI
PUSH
STS , PUSH
PCSTK ,
POP
POP
L L S S P P F
P P P P P P C
U O U O U O
FLUSH CACHE ;

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-2106x SHARC and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents