beautypg.com

Moves.f, Move fractional word to, Operation assembler syntax – Freescale Semiconductor StarCore SC140 User Manual

Page 615

background image

MOVES.F

SC140 DSP Core Reference Manual

A-301

MOVES.F

Move Fractional Word to

MOVES.F

Memory With Scaling and Saturation (AGU)

Description

This operation moves a fractional word from a data register to memory. The data is scaled according to the
scaling mode and is saturated if the Ln bit is set. The address register values must be word-aligned. This
instruction is affected by by SM (Saturation Mode bit - SR[2]). When SM is set, scaling is not performed,
and the scale bits S[1:10] have no effect. The address of the access must be word-aligned.

Operation

Assembler Syntax

Db

→ (aa)

MOVES.F Db,(a16) {0

≤ a16 < 2

16

,W}

Db

→ (aa)

MOVES.F Db,(a32) {0

≤ a32 < 2

32

,W}

Db

→ (Rn + s15)

MOVES.F Db,(Rn+s15) {–2

14

≤ s15 < 2

14

,W}

Db

→ (EA)

MOVES.F Db,(EA)

Db

→ (SP + s15)

MOVES.F Db,(SP+s15) {–2

14

≤ s15 < 2

14

,W}

MOVES.F Db,(a16)

Writes the HP of a data register (Db) to an absolute 16-bit memory address.

MOVES.F Db,(a32)

Writes the HP of a data register (Db) to an absolute 32-bit memory address.

MOVES.F Db,(Rn+s15)

Writes the HP of a data register (Db) to a memory address pointed to by an address register (Rn) with a
signed 15-bit offset.

MOVES.F Db,(EA)

Writes the HP of a data register (Db) to a memory address pointed to by an address register (EA) with an
optional offset or post-increment.

MOVES.F Db,(SP+s15)

Writes the HP of a data register (Db) to a memory address pointed to by the active stack pointer (SP) with
a signed 15-bit offset.