Instruction formats and opcodes instruction fields – Freescale Semiconductor StarCore SC140 User Manual

Page 356

Advertising
background image

A-42

SC140 DSP Core Reference Manual

AND

Instruction Formats and Opcodes

Instruction Fields

Da

JJJ

Single Source Data Register

Dn

FFF

Single Source/Destination Data Register

Instruction

Words Cycles Type

Opcode

15

8

7

0

AND #0{u16},Da,Dn

2

1

4

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

AND #{u16}$0000,Da,Dn

2

1

4

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

AND Da,Dn

1

1

2

1

1

0

1

1

1

F

F

F

0

0

0

0

J

J

J

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.

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

iiiiiiiiiiiiiiii

16-bit unsigned immediate data in lower word,

upper word zeroed

#(u16)$0000

iiiiiiiiiiiiiiii

0000000000000000

16-bit unsigned immediate data in upper word,

lower word zeroed

#u16

iiiiiiiiiiiiiiii

16-bit unsigned immediate data

Advertising