minix/lib/i386/int64/sub64.s

18 lines
335 B
ArmAsm
Raw Normal View History

2005-04-21 16:53:53 +02:00
! 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 $