minix/lib/i386/int64/mul64u.s
2009-11-09 10:26:00 +00:00

17 lines
366 B
ArmAsm

! mul64u() - unsigned long by unsigned multiply giving 64 bit result
! Author: Kees J. Bot
! 7 Dec 1995
.sect .text
.define _mul64u
_mul64u: ! u64_t mul64u(unsigned long i, unsigned j);
mov ecx, 4(esp)
mov eax, 8(esp)
mul 12(esp)
mov (ecx), eax
mov 4(ecx), edx
mov eax, ecx
ret
!
! $PchId: mul64u.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $