Motorola DSP56305 Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 112
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 26
2-12 Optimizing DSP56300/DSP56600 Applications MOTOROLA
Data Operations
Double precision arithmetic
The (U) means an unsigned operand, and the (S) a signed operand.
The following four instructions perform the operation in full:
;48x48 bit multiplication with 48 bit result.
;============================================
;first operand - X1:X0
;second operand -Y1:y0
;result is in accumulator A.
mpyuu x0,y0,a ; x0(u) * y0 (u) -> a
dmacsu y1,x0,a ;a>>24 +y1(s) * x0 (u) -> a
macsu x1,y0,a ;a + x1(s) * y0 (u) -> a
dmacss x1,y1,a ;a>>24 +x1(s) * y1 (s) -> a
Figure 2-2 48 × 48-bit Multiplication with 48 Bits of the Result Kept.
023023
023023
×
047
047
047
047
047
X0X1
Y0Y1
X0(u) • Y0(u)
Y1(s) • X0(u)
X1(s) • Y0(u)
X1(s) • Y1(s)
+
Result accumulator
AA0832
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 111 112

Commentaires sur ces manuels

Pas de commentaire