Motorola DSP96002 User Manual page 865

32-bit digital signal processor
Table of Contents

Advertisement

PLOCKR
Operation:
Lock sector by PC + xx
Lock sector by PC + xxxx
Lock sector by PC + Rn
Description:
Lock the cache sector to which the sum PC + specified displacement belongs. If the sum does not belong
to any cache sector, then load the least recently used cache sector tag with the 25 most significant bits of
the sum and then lock that cache sector. Update the LRU stack accordingly.
The displacement is a 2's complement 32-bit integer that represents the relative distance from the current
PC to the address to be locked. Short Displacement, Long Displacement and Address Register PC Relative
addressing modes may be used. The Short Displacement 15-bit data is sign extended to form the 32-bit
PC Relative Displacement.
The PLOCKR instruction is enabled only in Cache Mode. In PRAM Mode it will cause an illegal instruction
trap to be taken.
CCR Condition Codes: Not affected.
ER Status Bits: Not affected.
IER Flags: Not affected.
Instruction Format: PLOCKR
31
0000
0011
Instruction Format: PLOCKR
31
0000
0011
Instruction Format: PLOCKR
31
0000
0011
MOTOROLA
Program-Cache-Sector
Relative Lock
label (short)
10aa
aaaa
label
0000
1000
PC RELATIVE DISPLACEMENT
Rn
0000
001R
Assembler Syntax:
PLOCKR
label
PLOCKR
Rn
14 13
aa
00
0000
14 13
00
00
0000
14 13
RR
00
0000
PLOCKR
0
0aaa
aaaa
0
0000
0000
0
0000
0000
13

Advertisement

Table of Contents
loading

Table of Contents