From: ceriel Date: Mon, 22 Jan 1990 15:38:46 +0000 (+0000) Subject: adapted so that _brk routine may update .limhp X-Git-Tag: release-5-5~1882 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=36dbf2413159771b3dc7b70273d6898d3bb397f6;p=ack.git adapted so that _brk routine may update .limhp --- diff --git a/mach/m68020/libem/shp.s b/mach/m68020/libem/shp.s index 2d6c3b5c8..afda78cf7 100644 --- a/mach/m68020/libem/shp.s +++ b/mach/m68020/libem/shp.s @@ -13,11 +13,10 @@ EHEAP=17 blt 1f add.l #0x400, d1 and.l #~0x3ff, d1 - move.l d1, (.limhp) move.l d1, -(sp) jsr (_brk) ! allocate 1K bytes of extra storage - add.l #4, sp bcs 2f + move.l (sp)+,(.limhp) 1: move.l (sp)+, (.reghp) ! store new value jmp (a0) ! return