source: trunk/minix/lib/i86/em/em_cms.s@ 10

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

Minix 3.1.2a

File size: 276 bytes
Line 
1.define .cms
2
3 ! #bytes in cx
4 .text
5.cms:
6 pop bx ! return address
7 mov dx,sp
8 push si
9 push di
10 mov si,dx
11 add dx,cx
12 mov di,dx
13 add dx,cx
14 sar cx,#1
15 repe
16 cmp
17 je 1f
18 inc cx
191:
20 pop di
21 pop si
22 mov sp,dx
23 jmp (bx)
Note: See TracBrowser for help on using the repository browser.