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

Page 434

Advertising
background image

A-120

SC140 DSP Core Reference Manual

CMPEQ.W

Instruction Formats and Opcodes

Instruction Fields

Dn

FFF

Single Source/Destination Data Register

Instruction

Words Cycles Type

Opcode

15

8

7

0

CMPEQ.W

#u5,Dn

1

1

2

1

1

0

1

0

0

F

F

F

0

1

i

i

i

i

i

15

8

7

0

CMPEQ.W

#s16,Dn

2

1

4

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

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

Advertising