source: trunk/minix/lib/i386/int64/cv64u.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: 358 bytes
Line 
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
120: 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.