From: ceriel Date: Mon, 30 Mar 1987 12:40:09 +0000 (+0000) Subject: Don't use reghp X-Git-Tag: release-5-5~4287 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=18e5f78f21df6cdc6cd9ea099776246cdc1e5099;p=ack.git Don't use reghp --- diff --git a/mach/pmds4/libsys/sbrk.s b/mach/pmds4/libsys/sbrk.s index 8726f1e82..47d0032f9 100644 --- a/mach/pmds4/libsys/sbrk.s +++ b/mach/pmds4/libsys/sbrk.s @@ -10,7 +10,7 @@ _sbrk: tst.b -8(sp) move.l 4(sp),d0 beq 1f - add.l .reghp,d0 + add.l nd,d0 move.l d0,-(sp) clr.l -(sp) trap #0 @@ -19,15 +19,19 @@ _sbrk: tst.b -8(sp) bcc 1f jmp cerror 1: - move.l .reghp,d0 + move.l nd,d0 move.l 4(sp),d1 - add.l d1,.reghp + add.l d1,nd rts _brk: trap #0 .data2 0x11 bcc 1f jmp cerror 1: - move.l 4(sp),.reghp + move.l 4(sp),nd clr.l d0 rts +.sect .data +nd: + .data4 endbss +.sect .text