source: trunk/minix/lib/i386/em/em_xor.s@ 11

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

Minix 3.1.2a

File size: 239 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.sect .text
3.define .xor
4
5 ! #bytes in ecx
6.xor:
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 xor eax,(edi)
15 stos
16 loop 1b
17 mov edi,edx
18 jmp ebx
Note: See TracBrowser for help on using the repository browser.