SXT.x

Register/Memory Address

L2:D2

Before

$0:00 B400 0000

After

$0:$00 0000 7056

Example 3

sxt.l d3

Register/Memory Address

L3:D3

Before

$0:$B4 8E60 6EC6

After

$0:$FF 8E60 6EC6

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

SXT.B Da,Dn

1

1

1

SXT.W Da,Dn

1

1

1

SXT.L Dn

1

1

1

Note: ** indicates serial grouping encoding.

Opcode

15

 

 

 

 

8

7

0

 

 

 

 

 

 

 

0

* 1

1

0

1

F F

F 1 1 0 0 J J J

 

 

 

 

 

 

 

 

15

 

 

 

 

8

7

0

 

 

 

 

 

 

 

0

* 1

1

0

1

F F

F 1 1 1 0 J J J

 

 

 

 

 

 

 

 

15

 

 

 

 

8

7

0

 

 

 

 

 

 

 

0

* 1

0

0

1

F F

F 1 1 0 0 0 0 1

 

 

 

 

 

 

 

 

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.

 

 

SC140 DSP Core Reference Manual

A-401

Page 715
Image 715
Freescale Semiconductor SC140 specifications Sxt.l d3, Cycles Type