source:
trunk/minix/lib/i386/int64/add64.s@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 332 bytes |
Line | |
---|---|
1 | ! add64() - 64 bit addition Author: Kees J. Bot |
2 | ! 7 Dec 1995 |
3 | .sect .text |
4 | .define _add64 |
5 | |
6 | _add64: ! u64_t add64(u64_t i, u64_t j); |
7 | mov eax, 4(esp) |
8 | mov edx, 8(esp) |
9 | add edx, 16(esp) |
10 | mov (eax), edx |
11 | mov edx, 12(esp) |
12 | adc edx, 20(esp) |
13 | mov 4(eax), edx |
14 | ret |
15 | |
16 | ! |
17 | ! $PchId: add64.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $ |
Note:
See TracBrowser
for help on using the repository browser.