source: trunk/minix/lib/i386/em/em_rmu.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: 326 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.sect .text
3.define .rmu
4
5 ! #bytes in eax
6.rmu:
7 pop ebx ! return address
8 cmp eax,4
9 jne 1f
10 pop eax
11 xor edx,edx
12 pop ecx
13 idiv ecx
14 push edx
15 jmp ebx
161:
17.extern EODDZ
18.extern .trp
19 mov eax,EODDZ
20 push ebx
21 jmp .trp
Note: See TracBrowser for help on using the repository browser.