minix/lib/i386/int64/sub64.s
2005-04-21 14:53:53 +00:00

18 lines
335 B
ArmAsm
Executable file

! sub64() - 64 bit subtraction Author: Kees J. Bot
! 7 Dec 1995
.sect .text
.define _sub64
_sub64: ! u64_t sub64(u64_t i, u64_t j);
mov eax, 4(esp)
mov edx, 8(esp)
sub edx, 16(esp)
mov (eax), edx
mov edx, 12(esp)
sbb edx, 20(esp)
mov 4(eax), edx
ret
!
! $PchId: sub64.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $