From: keie Date: Tue, 26 Mar 1985 16:09:07 +0000 (+0000) Subject: Or's are not allowed on a-registers, add's are. X-Git-Tag: release-5-5~5530 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b63f304db1a749ba31ae979319c88ea2d7c2c087;p=ack.git Or's are not allowed on a-registers, add's are. --- 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