source: trunk/minix/lib/i86/em/em_cuu.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: 527 bytes
Line 
1.define .ciu
2.define .cui
3.define .cuu
4
5.text
6.ciu:
7.cui:
8.cuu:
9 pop bx ! return address
10 ! pop cx, dest. size
11 ! pop dx, source size
12 ! ax is low word of source
13 cmp dx,cx
14 je 8f
15 cmp dx,#2
16 je 1f
17 cmp dx,#4
18 jne 9f
19 cmp cx,#2
20 jne 9f
21 pop dx
228:
23 jmp (bx)
241:
25 cmp cx,#4
26 jne 9f
27 xor dx,dx
28 push dx
29 jmp (bx)
309:
31 push ax ! to help debugging ?
32EILLINS = 18
33.extern .fat
34 mov ax,#EILLINS
35 push ax
36 jmp .fat
Note: See TracBrowser for help on using the repository browser.