ack/mach/i86/libem/mli.s
1987-01-08 10:13:48 +00:00

31 lines
417 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.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:
.extern EODDZ
.extern .trp
mov ax,EODDZ
push ax
jmp .trp