source: trunk/minix/lib/i386/int64/add64.s@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 332 bytes
RevLine 
[9]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.