MOVES.4F

Status and Conditions that Affect Instruction

Register

Bit Name

Description

Address

 

 

MCTL[31:0]

AM3–AM0

Address modification bits for R0–R7.

SR[5:4]

S[1:0]

Scaling mode bits choose: no scaling, scale up one bit, or scale

 

 

down one bit.

Ln

L

Limited values are written to the destination if the Ln bit is set.

SR[18]

EXP

Determines the stack pointer used in instructions that have a stack pointer

 

 

as an operand.

Status and Conditions Changed by Instruction

Register

Bit Name

Description

Address

 

 

SR[6]

S

Scaling bit, set when the absolute value of the data moved (after

 

 

scaling and limiting) is greater than or equal to 0.25 and less than

 

 

0.75.

Example

moves.f d0,(r0)

Register/Memory Address

SR

R0

L0:D0

($0050)

Before

$00E0 0000

$0000 0050

$1:$00 8000 0000

After

$00E0 0000

$7FFF

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.

A-302

SC140 DSP Core Reference Manual

Page 616
Image 616
Freescale Semiconductor SC140 specifications Status and Conditions that Affect Instruction, Moves.f d0,r0