Motorola M68CPU32BUG Manuale Utente Pagina 128

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 196
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 195 196

Commenti su questo manuale

Nessun commento