beautypg.com

Plockr program-cache-sector plockr relative lock – Motorola DSP96002 User Manual

Page 848

background image

66

MOTOROLA

PLOCKR Program-Cache-Sector PLOCKR
Relative Lock

00

0000

0aaa

aaaa

31

14 13

0

0000

0011

10aa

aaaa aa

Operation:

Lock sector by PC + xx

Lock sector by PC + xxxx

Lock sector by PC + Rn

Assembler Syntax:

PLOCKR label

PLOCKR 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 label (short)

00

0000

0000

0000

31

14 13

0

PC RELATIVE DISPLACEMENT

0000

0011

0000

1000 00

Instruction Format: PLOCKR label

00

0000

0000

0000

31

14 13

0

0000

0011

0000

001R RR

Instruction Format: PLOCKR Rn