Motorola M68CPU32BUG Manuel d'utilisateur Page 128

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 196
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 127
SYSTEM CALLS
M68CPU32BUG/D REV 1 5-14
.MULU32 Unsigned 32 x 32 Bit Multiply .MULU32
5.2.10 Unsigned 32 x 32 Bit Multiply
SYSCALL .MULU32
TRAP CODE: $0069
Multiply two 32-bit unsigned integers and return the product on the stack as a 32-bit unsigned
integer. No overflow checking is performed.
Entry Conditions:
SP ==> 32-bit multiplier
32-bit multiplicand
32-bit space for result
Exit Conditions:
SP ==> 32-bit product (result from multiplication)
EXAMPLE
Multiply D0 by D1, load result into D2.
SUBQ.L #4,A7
Allocate space for result
MOVE.L D0,-(A7)
Push multiplicand
MOVE.L D1,-(A7)
Push multiplier
SYSCALL .MULU32
Multiply D0 by D1
MOVE.L (A7)+,D2
Get product
Vue de la page 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 195 196

Commentaires sur ces manuels

Pas de commentaire