source: trunk/minix/lib/i386/em/em_adi.s@ 9

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

Minix 3.1.2a

File size: 307 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.define .adi
3
4 ! #bytes in ecx , top of stack in eax
5 .sect .text
6.adi:
7 pop ebx ! return address
8 cmp ecx,4
9 jne 9f
10 pop ecx
11 add eax,ecx
12 jmp ebx
139:
14.extern EODDZ
15.extern .trp
16 mov eax,EODDZ
17 push ebx
18 jmp .trp
Note: See TracBrowser for help on using the repository browser.