source:
trunk/minix/lib/i386/int64/make64.s@
20
| Last change on this file since 20 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 355 bytes | |
| Line | |
|---|---|
| 1 | ! make64() - make a 64 bit number from two 32 bit halves |
| 2 | ! Author: Kees J. Bot |
| 3 | ! 7 Dec 1995 |
| 4 | .sect .text |
| 5 | .define _make64 |
| 6 | |
| 7 | _make64: ! u64_t make64(unsigned long lo, unsigned long hi); |
| 8 | mov eax, 4(esp) |
| 9 | mov edx, 8(esp) |
| 10 | mov (eax), edx |
| 11 | mov edx, 12(esp) |
| 12 | mov 4(eax), edx |
| 13 | ret |
| 14 | |
| 15 | ! |
| 16 | ! $PchId: make64.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $ |
Note:
See TracBrowser
for help on using the repository browser.