ack/mach/i86/libem/cii.s

41 lines
612 B
ArmAsm
Raw Normal View History

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 .cii
1987-01-08 10:13:48 +00:00
.sect .text
1985-02-07 15:33:13 +00:00
.cii:
pop di ! return address
! pop cx, dest. size
! pop bx, src. size
! ax is first word of source
cmp bx,cx
je 8f
cmp bx,2
je 1f
cmp bx,4
jne 7f
cmp cx,2
jne 9f
pop dx
8:
jmp di
7: cmp bx,1
jne 9f
cmp cx,2
jne 9f
cbw
jmp 8b
1:
cmp cx,4
jne 9f
cwd
push dx
jmp di
9:
push ax ! push low source
1987-01-08 10:13:48 +00:00
.extern EILLINS
.extern .fat
1985-02-07 15:33:13 +00:00
mov ax,EILLINS
push ax
jmp .fat
jmp bx