INSTRUCTION DESCRIPTIONS

BCLR

Bit Test and Clear

Instruction Format:

BCLR #n,X:ea

BCLR #n,Y:ea

Opcode:

BCLR

 

23

16

15

8

7

0

 

 

0

0 0 0 1 0 1 0

0 1 M M M R R R

0 S 0 b b b b b

 

 

 

 

 

 

 

 

 

 

 

OPTIONAL EFFECTIVE ADDRESS EXTENSION

 

 

 

 

 

 

 

 

 

 

Instruction Fields:

#n=bit number=bbbbb,

ea=6-bit Effective Address=MMMRRR

Effective

 

 

 

 

 

 

 

 

 

Addressing Mode

M M M R R R

Memory SpaceS

Bit Number bbbbb

(Rn)-Nn

0

0

0

r

r

r

X Memory

0

00000

(Rn)+Nn

0

0

1

r

r

r

Y Memory

1

(Rn)-

0

1

0

r

r

r

 

 

(Rn)+

0

1

1

r

r

r

 

 

(Rn)

1

0

0

r

r

r

 

 

10111

(Rn+Nn)

1

0

1

r

r

r

 

 

 

-(Rn)

1

1

1

r

r

r

 

 

 

Absolute address

1

1

0

0

0

0

 

 

 

where “rrr” refers to an address register R0-R7

Timing: 4+mvb oscillator clock cycles

Memory: 1+ea program words

MOTOROLA

INSTRUCTION SET DETAILS

A - 51

Page 320
Image 320
Motorola DSP56000, 24-Bit Digital Signal Processor manual Bclr #n,Xea Bclr #n,Yea