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