source:
trunk/minix/lib/i386/em/em_ior.s@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
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 |
12 | 1: |
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.