dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
[minix.git] / lib / i386 / int64 / add64u.s
blob58c71fd64d04142eb8a1547d66e7430d333602fa
1 ! add64u() - unsigned to 64 bit addition Author: Kees J. Bot
2 ! 7 Dec 1995
3 .sect .text
4 .define _add64u, _add64ul
6 _add64u: ! u64_t add64u(u64_t i, unsigned j);
7 _add64ul: ! u64_t add64ul(u64_t i, unsigned long j);
8 mov eax, 4(esp)
9 mov edx, 8(esp)
10 add edx, 16(esp)
11 mov (eax), edx
12 mov edx, 12(esp)
13 adc edx, 0
14 mov 4(eax), edx
15 ret
18 ! $PchId: add64u.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $