source: trunk/minix/lib/i386/em/em_ior.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: 238 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.sect .text
3.define .ior
4
5 ! #bytes in ecx
6.ior:
7 pop ebx ! return address
8 mov edx,edi
9 mov edi,esp
10 add edi,ecx
11 sar ecx,2
121:
13 pop eax
14 or eax,(edi)
15 stos
16 loop 1b
17 mov edi,edx
18 jmp ebx
Note: See TracBrowser for help on using the repository browser.