Freescale-semiconductor StarCore SC140 Uživatelský manuál Strana 467

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 760
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 466
DMACSS
SC140 DSP Core Reference Manual A-153
DMACSS Multiply Signed By Signed and DMACSS
Accumulate With Right Shifted Data Register (DALU)
Description
Status and Conditions that Affect Instruction
None.
Status and Conditions Changed by Instruction
Example
dmacss d2,d3,d5
Operation Assembler Syntax
[Dn>>16] + Dc.H * Dd.H Dn
(Dc signed, Dd signed)
DMACSS Dc,Dd,Dn
DMACSS Dc,Dd,Dn
Shifts Dn 16 bits to the right with bit 39 sign-extended into bits [39:24]. Adds the result to the product of
signed fractions in Dc.H and Dd.H. Places the result into Dn.
Dc and Dd are a data register pair. The operands are in the HP of each register.
This instruction is optimized for multi-precision-multiplication support.
Register Address Bit Name Description
Ln L Clears the Ln bit in the destination register.
Register/Memory Address Before After
D2
$00 0002 0000
D3
$00 0003 0000
L5:D5
$0:$00 0050 0000 $0:$00 0000 005C
EMR
$0000 0000
$00 0002 0000 2
-14
x $00 0003 0000 2
-14
+ 2
-15
$00 0000 000C 2
-28
+ 2
-29
+ $00 0000 0050
$00 0000 005C
Zobrazit stránku 466
1 2 ... 462 463 464 465 466 467 468 469 470 471 472 ... 759 760

Komentáře k této Příručce

Žádné komentáře