source: trunk/minix/lib/i86/em/em_sbi.s@ 9

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

Minix 3.1.2a

File size: 372 bytes
Line 
1.define .sbi
2.text
3
4 ! #bytes in cx , top of stack in ax
5.sbi:
6 pop bx ! return subress
7 cmp cx,#2
8 jne 1f
9 pop cx
10 sub ax,cx
11 neg ax
12 jmp (bx)
131:
14 cmp cx,#4
15 jne 9f
16 pop dx
17 pop cx
18 sub cx,ax
19 mov ax,cx
20 pop cx
21 sbb cx,dx
22 push cx
23 jmp (bx)
249:
25.extern .trpilin
26 push bx
27 jmp .trpilin
Note: See TracBrowser for help on using the repository browser.