ack/mach/i86/libem/strhp.s

20 lines
202 B
ArmAsm
Raw Normal View History

1985-02-07 15:33:13 +00:00
.define .strhp
.strhp:
! $Header$
pop bx
pop ax
mov (.reghp),ax
cmp ax,(.limhp)
jb 1f
add ax,02000
and ax,~0777
mov (.limhp),ax
cmp ax,sp
jae 2f
1:
jmp bx
2:
mov ax,EHEAP
jmp .fat