source:
trunk/minix/lib/i86/em/em_com.s@
16
Last change on this file since 16 was 9, checked in by , 14 years ago | |
---|---|
File size: 124 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | .define .com |
2 | ||
3 | ! #bytes in cx | |
4 | .text | |
5 | .com: | |
6 | mov bx,sp | |
7 | inc bx | |
8 | inc bx | |
9 | sar cx,#1 | |
10 | 1: | |
11 | not (bx) | |
12 | inc bx | |
13 | inc bx | |
14 | loop 1b | |
15 | ret |
Note:
See TracBrowser
for help on using the repository browser.