source: trunk/minix/lib/i86/em/em_cmi4.s@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 285 bytes
Line 
1.define .cmi4
2
3.text
4.cmi4:
5 pop bx ! return address
6 pop cx
7 pop dx
8 pop ax
9 push si
10 mov si,sp
11 xchg bx,2(si)
12 pop si
13 cmp bx,dx
14 jg 1f
15 jl 2f
16 cmp ax,cx
17 ja 1f
18 je 3f
192:
20 mov ax,#-1
21 ret
223:
23 xor ax,ax
24 ret
251:
26 mov ax,#1
27 ret
Note: See TracBrowser for help on using the repository browser.