source: trunk/minix/lib/i86/int64/ex64.s@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 329 bytes
Line 
1! ex64*() - extract low or high 32 bits of a 64 bit number
2! Author: Kees J. Bot
3! 24 Dec 1995
4.sect .text
5.define _ex64lo, _ex64hi
6
7_ex64lo: ! unsigned long ex64lo(u64_t i);
8 mov bx, sp
9 mov ax, 2(bx)
10 mov dx, 4(bx)
11 ret
12
13_ex64hi: ! unsigned long ex64hi(u64_t i);
14 mov bx, sp
15 mov ax, 6(bx)
16 mov dx, 8(bx)
17 ret
Note: See TracBrowser for help on using the repository browser.