. service tells you which device it couldn't stat
[minix3.git] / lib / i386 / em / em_dup.s
blob071a46c32f73be07e262cae56139eda9001445ac
1 .sect .text; .sect .rom; .sect .data; .sect .bss
2 .define .dup
4 ! #bytes in ecx
5 .sect .text
6 .dup:
7 pop ebx ! return address
8 mov eax,esi
9 mov edx,edi
10 mov esi,esp
11 sub esp,ecx
12 mov edi,esp
13 sar ecx,2
14 rep movs
15 mov esi,eax
16 mov edi,edx
17 jmp ebx