source:
trunk/minix/lib/i86/em/em_stb.s@
20
| Last change on this file since 20 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 165 bytes | |
| Line | |
|---|---|
| 1 | .define ___stb |
| 2 | .text |
| 3 | |
| 4 | ! Routine for copying structs. |
| 5 | ___stb: |
| 6 | mov bx,sp |
| 7 | push si |
| 8 | push di |
| 9 | mov cx,2(bx) |
| 10 | mov si,4(bx) |
| 11 | mov di,6(bx) |
| 12 | rep |
| 13 | movb |
| 14 | pop di |
| 15 | pop si |
| 16 | ret |
Note:
See TracBrowser
for help on using the repository browser.