source: trunk/minix/lib/i86/em/em_cii.s@ 20

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

Minix 3.1.2a

File size: 513 bytes
Line 
1.define .cii
2
3.text
4.cii:
5 pop bx ! return address
6 ! pop cx, dest. size
7 ! pop dx, src. size
8 ! ax is first word of source
9 cmp dx,#1
10 jne 2f
11 cbw
12 mov dx,#2
132:
14 cmp dx,cx
15 je 8f
16 cmp dx,#2
17 je 1f
18 cmp dx,#4
19 jne 9f
20 cmp cx,#2
21 jne 9f
22 pop dx
238:
24 jmp (bx)
251:
26 cmp cx,#4
27 jne 9f
28 cwd
29 push dx
30 jmp (bx)
319:
32 push ax ! push low source
33EILLINS = 18
34.extern .fat
35 mov ax,#EILLINS
36 push ax
37 jmp .fat
Note: See TracBrowser for help on using the repository browser.