source:
trunk/minix/lib/i386/int64/mul64u.s@
10
      
      | Last change on this file since 10 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 366 bytes | |
| Line | |
|---|---|
| 1 | ! mul64u() - unsigned long by unsigned multiply giving 64 bit result | 
| 2 | ! Author: Kees J. Bot | 
| 3 | ! 7 Dec 1995 | 
| 4 | .sect .text | 
| 5 | .define _mul64u | 
| 6 | |
| 7 | _mul64u: ! u64_t mul64u(unsigned long i, unsigned j); | 
| 8 | mov ecx, 4(esp) | 
| 9 | mov eax, 8(esp) | 
| 10 | mul 12(esp) | 
| 11 | mov (ecx), eax | 
| 12 | mov 4(ecx), edx | 
| 13 | mov eax, ecx | 
| 14 | ret | 
| 15 | |
| 16 | ! | 
| 17 | ! $PchId: mul64u.ack.s,v 1.2 1996/04/11 18:59:57 philip Exp $ | 
  Note:
 See   TracBrowser
 for help on using the repository browser.