source:
trunk/minix/lib/i386/int64/cv64u.s@
14
Last change on this file since 14 was 9, checked in by , 14 years ago | |
---|---|
File size: 358 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | ! cv64u() - 64 bit converted to unsigned Author: Kees J. Bot |
2 | ! 7 Dec 1995 | |
3 | .sect .text | |
4 | .define _cv64u, _cv64ul | |
5 | ||
6 | _cv64u: ! unsigned cv64u(u64_t i); | |
7 | _cv64ul: ! unsigned long cv64ul(u64_t i); | |
8 | mov eax, 4(esp) | |
9 | cmp 8(esp), 0 ! return ULONG_MAX if really big | |
10 | jz 0f | |
11 | mov eax, -1 | |
12 | 0: ret | |
13 | ||
14 | ! | |
15 | ! $PchId: cv64u.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $ |
Note:
See TracBrowser
for help on using the repository browser.