dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / lib / i386 / int64 / sub64u.s
blob52e209296c920d212f1769283008cfc728618458
1 ! sub64() - unsigned from 64 bit subtraction Author: Kees J. Bot
2 ! 7 Dec 1995
3 .sect .text
4 .define _sub64u, _sub64ul
6 _sub64u: ! u64_t sub64u(u64_t i, unsigned j);
7 _sub64ul: ! u64_t sub64ul(u64_t i, unsigned long j);
8 mov eax, 4(esp)
9 mov edx, 8(esp)
10 sub edx, 16(esp)
11 mov (eax), edx
12 mov edx, 12(esp)
13 sbb edx, 0
14 mov 4(eax), edx
15 ret
18 ! $PchId: sub64u.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $