beautypg.com

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

Page 601

background image

MOVE.W

SC140 DSP Core Reference Manual

A-287

Instruction Formats and Opcodes

Instruction Fields

C4

DDDDD

General Registers

Instruction

Words Cycles Type

Opcode

15

8

7

0

MOVE.W #s7,DR

1

1

2

1

1

0

0

H H H H

1

i

i

i

i

i

i

i

15

8

7

0

MOVE.W #s16,C4

2

1

4

0

0

1

0

D D D D

i

i

i

0

0

0

D

0

1

0

0

i

i

i

i

i

i

i

i

i

i

i

i

i

15

8

7

0

MOVE.W #s16,(a16)

3

1

3

0

0

1

1

1

0

0

0

A

A

A

i

i

1

0

0

0

0

1

A

A

A

A

A

A

A

A

A

A

A

A

A

1

0

i

i

i

i

i

i

i

i

i

i

i

i

i

i

15

8

7

0

MOVE.W #s16,(SP–u5)

2

2

3

0

0

0

1

1

0

0

0

i

i

i

A

A

A

A

A

1

0

1

i

i

i

i

i

i

i

i

i

i

i

i

i

15

8

7

0

MOVE.W #s16,(Rn)

2

1

3

0

0

0

1

1

0

0

1

i

i

i

0

1

R R R

1

0

1

i

i

i

i

i

i

i

i

i

i

i

i

i

15

8

7

0

MOVE.W #s16,(SP+sa16)

3

2

3

0

0

1

1

1

0

0

0

A

A

A

i

i

1

0

1

0

0

1

A

A

A

A

A

A

A

A

A

A

A

A

A

1

0

i

i

i

i

i

i

i

i

i

i

i

i

i

i

00000

D0

01000

D4

10000

R0

11000

R4

00001

B0

01001

B4

10001

N0

11001

M0

00010

D1

01010

D5

10010

R1

11010

R5

00011

B1

01011

B5

10011

N1

11011

M1

00100

D2

01100

D6

10100

R2

11100

R6

00101

B2

01101

B6

10101

N2

11101

M2

00110

D3

01110

D7

10110

R3

11110

R7

00111

B3

01111

B7

10111

N3

11111

M3

Note:

This instruction can specify D8-D15 or R8-R15 as operands by using a high register prefix.