From b63f304db1a749ba31ae979319c88ea2d7c2c087 Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 26 Mar 1985 16:09:07 +0000 Subject: [PATCH] Or's are not allowed on a-registers, add's are. --- mach/m68k4/libsys/dup2.s | 2 +- mach/m68k4/libsys/pipe.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mach/m68k4/libsys/dup2.s b/mach/m68k4/libsys/dup2.s index 9d5a20ef9..2924bc822 100644 --- a/mach/m68k4/libsys/dup2.s +++ b/mach/m68k4/libsys/dup2.s @@ -4,5 +4,5 @@ _dup2: move.w #0x29,d0 move.l 4(sp),a0 move.l 8(sp),d1 - or.l #0x40,a0 + add.l #0x40,a0 jmp call diff --git a/mach/m68k4/libsys/pipe.s b/mach/m68k4/libsys/pipe.s index 2cb786e37..8d5edc605 100644 --- a/mach/m68k4/libsys/pipe.s +++ b/mach/m68k4/libsys/pipe.s @@ -1,7 +1,7 @@ .define _pipe .extern _pipe _pipe: - mov.w #0x2A,d0 + move.w #0x2A,d0 trap #0 bcc 1f jmp cerror -- 2.34.1