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
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...