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