CMPGT.W

Instruction Formats and Opcodes

Instruction

Words Cycles Type Opcode

15

8

7

0

CMPGT.W #u5,Dn

1

1

2

1 1 0 1 0 1 F F F 0 1 i i i i i

 

 

 

 

15

 

 

 

 

 

 

8

7

 

 

 

 

 

 

0

CMPGT.W #s16,Dn

2

1

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

1

1

0

1

1

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-126

SC140 DSP Core Reference Manual

Page 440
Image 440
Freescale Semiconductor SC140 specifications CMPGT.W #u5,Dn