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

27 lines
329 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.define .cmu4
.sect .text
.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