CMPEQ.W

Instruction Formats and Opcodes

Instruction

 

Words

Cycles

Type

CMPEQ.W

#u5,Dn

1

1

2

CMPEQ.W

#s16,Dn

2

1

4

Opcode

15

 

 

 

 

 

8

7

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

1

1

0

1

0

0

F F

F 0 1 i

i

i

i

i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

8

7

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

0

0

1

1

0

1

0 0

i

i i

1 0 F F F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

0

i

i

i

i i

i

i

i

i

i

i

i

i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction Fields

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.

 

 

#u5

 

 

iiiii

5-bit unsigned immediate data

 

 

#s16

 

iiiiiiiiiiiiiiii

16-bit signed immediate data

 

 

A-120

SC140 DSP Core Reference Manual

Page 434
Image 434
Freescale Semiconductor SC140 specifications Cmpeq.W