From 18e5f78f21df6cdc6cd9ea099776246cdc1e5099 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 30 Mar 1987 12:40:09 +0000 Subject: [PATCH] Don't use reghp --- mach/pmds4/libsys/sbrk.s | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 -- 2.34.1