beautypg.com

Motorola DSP96002 User Manual

Page 868

background image

16

MOTOROLA

PUNLOCKR Program-Cache-Sector PUNLOCKR
Relative Unlock

00

0000

0aaa

aaaa

31

14 13

0

0000

0011

11aa

aaaa aa

Operation:

Unlock sector by PC + xx

Unlock sector by PC + xxxx

Unlock sector by PC + Rn

Assembler Syntax:

PUNLOCKR label

PUNLOCKR Rn

Description:

Unlock the cache sector to which the sum PC + specified displacement belongs. If the sum does not belong

to any cache sector, and is therefore definitely unlocked, nevertheless, load the least recently used cache

sector tag with the 25 most significant bits of the sum. 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 PUNLOCKR instruction is enabled only in Cache Mode. In PRAM Mode it will cause an illegal instruc-

tion trap to be taken.

CCR Condition Codes: Not affected.

ER Status Bits: Not affected.

IER Flags: Not affected.

Instruction Format: PUNLOCKR label (short)

00

0000

0000

0000

31

14 13

0

PC RELATIVE DISPLACEMENT

0000

0011

0100

1000 00

Instruction Format: PUNLOCKR label

00

0000

0000

0000

31

14 13

0

0000

0011

0100

001R RR

Instruction Format: PUNLOCKR Rn