1987-01-08 10:13:48 +00:00
|
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss
|
1985-02-07 15:33:13 +00:00
|
|
|
.define .cmu4
|
|
|
|
|
1987-01-08 10:13:48 +00:00
|
|
|
.sect .text
|
1985-02-07 15:33:13 +00:00
|
|
|
.cmu4:
|
|
|
|
pop bx ! return address
|
|
|
|
xor ax,ax
|
|
|
|
pop cx
|
|
|
|
pop dx
|
|
|
|
pop si
|
|
|
|
pop di
|
|
|
|
cmp di,dx
|
|
|
|
ja 1f
|
|
|
|
jb 2f
|
|
|
|
cmp si,cx
|
|
|
|
ja 1f
|
|
|
|
je 3f
|
|
|
|
2:
|
|
|
|
dec ax
|
|
|
|
3:
|
|
|
|
jmp bx
|
|
|
|
1:
|
|
|
|
inc ax
|
|
|
|
jmp bx
|
|
|
|
|
|
|
|
ret
|