MOVES.2F

Register/Memory Address

Before

After

SR

d0

d1

R0

$0054

$0056

$00E0 0000

$1:$00 8000 0000

$0:$00 7EAC F00D

$0000 0054

$00E0 0000

$7FFF

$7EAC

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

Words Cycles Type

Opcode

15

8

7

0

MOVES.2F Da:Db,(EA)

1

12

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.

Instruction Fields

Da:Db

hh

Data Register Pairs

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.

EA

MMM

 

 

Effective Address Notation

 

 

 

000

(Rn+N0)

010

(Rn)

100

(Rn)+N0

110

(Rn)+N2

 

 

 

 

 

 

 

 

 

 

001

(Rn)–

011

(Rn)+

101

(Rn)+N1

111

(Rn)+N3

 

 

 

 

 

 

 

 

 

Rn

RRR

 

 

Address Register

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

A-298

SC140 DSP Core Reference Manual

Page 612
Image 612
Freescale Semiconductor SC140 specifications $7FFF $7EAC