1987-01-08 10:13:48 +00:00
|
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss
|
|
|
|
.sect .text
|
1985-02-07 15:33:13 +00:00
|
|
|
.define .mli
|
|
|
|
|
|
|
|
! #bytes in ax
|
|
|
|
.mli:
|
|
|
|
pop bx ! return address
|
|
|
|
cmp ax,2
|
|
|
|
jne 1f
|
|
|
|
pop ax
|
|
|
|
pop cx
|
|
|
|
mul cx
|
|
|
|
push ax
|
|
|
|
jmp bx
|
|
|
|
1:
|
|
|
|
mov dx,bx
|
|
|
|
cmp ax,4
|
|
|
|
jne 9f
|
|
|
|
pop si
|
|
|
|
pop di
|
|
|
|
pop bx
|
|
|
|
pop ax
|
|
|
|
push dx
|
|
|
|
jmp .mli4
|
|
|
|
9:
|
1987-01-08 10:13:48 +00:00
|
|
|
.extern EODDZ
|
|
|
|
.extern .trp
|
1985-02-07 15:33:13 +00:00
|
|
|
mov ax,EODDZ
|
|
|
|
push ax
|
|
|
|
jmp .trp
|