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

Page 612

Advertising
background image

A-298

SC140 DSP Core Reference Manual

MOVES.2F

The Ln bit is set in d0, and the number in d0 is positive (bit 39 = 0), so the saturated value $7FFF is written
to memory.

Instruction Formats and Opcodes

Instruction Fields

Da:Db

hh

Data Register Pairs

EA

MMM

Effective Address Notation

Rn

RRR

Address Register

SR

$00E0 0000

$00E0 0000

d0

$1:$00 8000 0000

d1

$0:$00 7EAC F00D

R0

$0000 0054

$0054

$7FFF

$0056

$7EAC

Instruction

Words Cycles Type

Opcode

15

8

7

0

MOVES.2F Da:Db,(EA)

1

1

2

1

0

*

0

0

1

h

h

1

0

1 M M M R R R

Notes:

1.

** indicates serial grouping encoding.

2.

When the form (Rn + N0) is used in EA, the cycle count is increased by 1.

00

D0:D1

01

D2:D3

10

D4:D5

11

D6:D7

Note:

This instruction can specify D8-D15 as operands by using a prefix.

000

(Rn+N0)

010

(Rn)

100

(Rn)+N0

110

(Rn)+N2

001

(Rn)–

011

(Rn)+

101

(Rn)+N1

111

(Rn)+N3

000

R0

010

R2

100

R4

110

R6

001

R1

011

R3

101

R5

111

R7

Note:

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

Register/Memory Address

Before

After

Advertising