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