minix/lib/i86/int64/diff64.s

11 lines
215 B
ArmAsm
Raw Normal View History

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