source:
trunk/minix/lib/i386/int64/add64u.s@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 409 bytes |
Line | |
---|---|
1 | ! add64u() - unsigned to 64 bit addition Author: Kees J. Bot |
2 | ! 7 Dec 1995 |
3 | .sect .text |
4 | .define _add64u, _add64ul |
5 | |
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 |
16 | |
17 | ! |
18 | ! $PchId: add64u.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $ |
Note:
See TracBrowser
for help on using the repository browser.