source:
trunk/minix/lib/i386/em/em_blm.s@
10
| Last change on this file since 10 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 219 bytes | |
| Line | |
|---|---|
| 1 | .sect .text; .sect .rom; .sect .data; .sect .bss |
| 2 | .sect .text |
| 3 | .define .blm |
| 4 | |
| 5 | ! ecx: count in words |
| 6 | .blm: |
| 7 | mov ebx,esp |
| 8 | mov eax,esi |
| 9 | mov edx,edi |
| 10 | mov edi,4(ebx) |
| 11 | mov esi,8(ebx) |
| 12 | rep movs |
| 13 | mov esi,eax |
| 14 | mov edi,edx |
| 15 | ret 8 |
| 16 |
Note:
See TracBrowser
for help on using the repository browser.