beautypg.com

Moves.f d0,(r0) – Freescale Semiconductor StarCore SC140 User Manual

Page 616

background image

A-302

SC140 DSP Core Reference Manual

MOVES.4F

Status and Conditions that Affect Instruction

Status and Conditions Changed by Instruction

Example

moves.f d0,(r0)

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.

Register
Address

Bit Name

Description

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.

Register
Address

Bit Name

Description

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.

Register/Memory Address

Before

After

SR

$00E0 0000

$00E0 0000

R0

$0000 0050

L0:D0

$1:$00 8000 0000

($0050)

$7FFF