Freescale-semiconductor StarCore SC140 Manual do Utilizador Página 613

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 760
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 612
MOVES.4F
SC140 DSP Core Reference Manual A-299
MOVES.4F Move Four Fractional Words to MOVES.4F
Memory With Scaling and Saturation (AGU)
Description
The data that is moved from each register to memory is scaled according to the scaling mode. If the Ln bit
is set, it is also saturated. The address register values must be quad word-aligned (a multiple of 8). 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.
Status and Conditions that Affect Instruction
Status and Conditions Changed by Instruction
Example
moves.4f d0:d1:d2:d3,(r0)
Operation Assembler Syntax
Da:Db:Dc:Dd (EA)
MOVES.4F Da:Db:Dc:Dd,(EA)
MOVES.4F Da:Db:Dc:Dd,(EA)
Writes four signed fractional words from a data register quad to memory addresses pointed to by an address
register with an optional offset or post-increment.
The first operand (Da) will be moved to the lower memory address (EA). The second operand (Db) will be
moved to memory address (EA + 2). The third operand (Dc) will be moved to memory address (EA + 4).
And, the fourth operand (Dd) will be moved to memory address (EA + 6). In order to keep this behavior in
both big endian and little endian modes, the core will drive the data bus differently in each mode. See
Section 2.4.1, “SC140 Endian Support,” on page 2-56, for more detail on bus and memory behavior for
each mode.
Register Address Bit Name Description
MCTL[31:0] AM3–AM0 Address modification bits when updating R0–R7. Otherwise, the
instruction is not affected by MCTL.
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.
EMR[16] BEM Set if big endian mode, cleared if little endian mode.
Register Address Bit Name Description
SR[6] S Scaling bit, set when the absolute value of any one of the words
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
Vista de página 612
1 2 ... 608 609 610 611 612 613 614 615 616 617 618 ... 759 760

Comentários a estes Manuais

Sem comentários