source:
trunk/minix/lib/i86/em/em_adi.s@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 277 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | .define .adi |
2 | ||
3 | .text | |
4 | .adi: | |
5 | pop bx | |
6 | cmp cx,#2 | |
7 | jne 1f | |
8 | pop cx | |
9 | add ax,cx | |
10 | jmp (bx) | |
11 | 1: | |
12 | cmp cx,#4 | |
13 | jne 9f | |
14 | pop dx | |
15 | pop cx | |
16 | add ax,cx | |
17 | pop cx | |
18 | adc dx,cx | |
19 | push dx | |
20 | jmp (bx) | |
21 | 9: | |
22 | .extern .trpilin | |
23 | push bx | |
24 | jmp .trpilin |
Note:
See TracBrowser
for help on using the repository browser.