minix/lib/i86/int64/diff64.s
2009-11-09 10:26:00 +00:00

10 lines
215 B
ArmAsm

! diff64() - 64 bit subtraction giving unsigned Author: Kees J. Bot
! 24 Dec 1995
.sect .text
.define _diff64
_diff64: ! unsigned diff64(u64_t i, u64_t j);
mov bx, sp
mov ax, 2(bx)
sub ax, 10(bx)
ret