From 8a40c25069682134ddde8424ea50266bce5b1e53 Mon Sep 17 00:00:00 2001 From: keie Date: Mon, 4 Mar 1985 16:11:26 +0000 Subject: [PATCH] Now using .reghp. --- mach/pmds4/libsys/sbrk.s | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/mach/pmds4/libsys/sbrk.s b/mach/pmds4/libsys/sbrk.s index aae02474b..490cd0491 100644 --- a/mach/pmds4/libsys/sbrk.s +++ b/mach/pmds4/libsys/sbrk.s @@ -5,7 +5,7 @@ _sbrk: tst.b -8(sp) move.l 4(sp),d0 beq 1f - add.l nd,d0 + add.l .reghp,d0 move.l d0,-(sp) clr.l -(sp) trap #0 @@ -14,18 +14,15 @@ _sbrk: tst.b -8(sp) bcc 1f jmp cerror 1: - move.l nd,d0 + move.l .reghp,d0 move.l 4(sp),d1 - add.l d1,nd + add.l d1,.reghp rts _brk: trap #0 .short 0x11 bcc 1f jmp cerror 1: - move.l 4(sp),nd + move.l 4(sp),.reghp clr.l d0 rts -.data -nd: .long endbss -.text