AND

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

AND #0{u16},Da,Dn

2

1

4

AND #{u16}$0000,Da,Dn

2

1

4

AND Da,Dn

1

1

2

Opcode

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

 

 

 

 

 

 

0

0

1

1

J J J 1

i i i 1 1 F F F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

0

i

i

i

i

i

i

i

i

i

i

i

i

i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

0

0

1

1

J J J 1

i i i 0

1

F F F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

0

i

i

i

i

i

i

i

i

i

i

i

i

i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

1

1

0

1

1 1 F F

F 0 0 0

0

J J J

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction Fields

Da

JJJ

 

Single Source Data Register

 

 

 

 

000

D0

010

D2

100

D4

110

D6

 

 

 

 

 

 

 

 

 

 

001

D1

011

D3

101

D5

111

D7

 

 

 

 

 

 

 

 

Note:

This instruction

can specify D8-D15 as operands by using a prefix.

 

 

Dn

FFF

 

Single Source/Destination Data Register

 

 

000

D0

010

D2

100

D4

 

110

D6

 

 

 

 

 

 

 

 

 

 

 

001

D1

011

D3

101

D5

 

111

D7

 

 

 

 

 

 

 

 

 

Note:

This instruction

can specify D8-D15 as operands by using a prefix.

 

 

 

#0(u16)

 

0000000000000000

16-bit unsigned immediate data in lower word,

 

 

 

iiiiiiiiiiiiiiii

 

 

 

upper word zeroed

#(u16)$0000

 

iiiiiiiiiiiiiiii

16-bit unsigned immediate data in upper word,

 

 

0000000000000000

 

 

 

lower word zeroed

#u16

 

 

iiiiiiiiiiiiiiii

 

16-bit unsigned immediate data

A-42

SC140 DSP Core Reference Manual

Page 356
Image 356
Freescale Semiconductor SC140 specifications #0u16, #u16$0000