source:
trunk/minix/lib/i86/em/em_rck.s@
20
Last change on this file since 20 was 9, checked in by , 14 years ago | |
---|---|
File size: 247 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | .define .rck |
2 | .text | |
3 | ||
4 | ! descriptor address in bx | |
5 | ! value in ax, must be left there | |
6 | .rck: | |
7 | cmp ax,(bx) | |
8 | jl 2f | |
9 | cmp ax,2(bx) | |
10 | jg 2f | |
11 | ret | |
12 | 2: | |
13 | push ax | |
14 | ERANGE = 1 | |
15 | .extern .error | |
16 | mov ax,#ERANGE | |
17 | call .error | |
18 | pop ax | |
19 | ret |
Note:
See TracBrowser
for help on using the repository browser.