beautypg.com

Motorola DSP96002 User Manual

Page 252

background image

A - 64

DSP96002 USER’S MANUAL

MOTOROLA

Instruction Fields:

Rn - R0-R7 (Memory alterable addressing modes only)

Immediate Short Data - bbbbb (5 bits)

Absolute Short Address - aaaaaaa (7 bits)

I/O Short Address - ppppppp (7 bits)

Instruction Format:

BTST #bit,S

aa

110S

000b

bbbb

31

14 13

0

PC RELATIVE DISPLACEMENT

0000

0010

0110

0aaa

aa

00

110S

000b

bbbb

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION

0000

0010

0100

MMMR

pp

110S

000b

bbbb

31

14 13

0

PC RELATIVE DISPLACEMENT

0000

0010

0110

1ppp

pp

d0

1100

000b

bbbb

31

14 13

0

PC RELATIVE DISPLACEMENT

0000

0010

0111

dddd

dd

Memory Space

S

X Memory

0

Y

Memory

1

Bit Number

b b b b b

Bit 0-31

n n n n n

where nnnnn = 0-31

Instruction Format:

BTST #bit,X: ea
BTST #bit,Y: ea

Instruction Format:

BTST #bit,X: pp
BTST #bit,Y: pp

Instruction Format:

BTST #bit,X: aa
BTST #bit,Y: aa