source:
trunk/minix/lib/i86/em/em_blm.s@
10
| Last change on this file since 10 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 148 bytes | |
| Line | |
|---|---|
| 1 | .define .blm |
| 2 | .text |
| 3 | |
| 4 | ! cx: count in words |
| 5 | .blm: |
| 6 | mov bx,sp |
| 7 | mov ax,si |
| 8 | mov dx,di |
| 9 | mov di,2(bx) |
| 10 | mov si,4(bx) |
| 11 | rep |
| 12 | mov |
| 13 | mov si,ax |
| 14 | mov di,dx |
| 15 | ret 4 |
Note:
See TracBrowser
for help on using the repository browser.