Or's are not allowed on a-registers, add's are.
authorkeie <none@none>
Tue, 26 Mar 1985 16:09:07 +0000 (16:09 +0000)
committerkeie <none@none>
Tue, 26 Mar 1985 16:09:07 +0000 (16:09 +0000)
mach/m68k4/libsys/dup2.s
mach/m68k4/libsys/pipe.s

index 9d5a20e..2924bc8 100644 (file)
@@ -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
index 2cb786e..8d5edc6 100644 (file)
@@ -1,7 +1,7 @@
 .define _pipe
 .extern _pipe
 _pipe:         
-               mov.w #0x2A,d0
+               move.w #0x2A,d0
                trap #0
                bcc 1f
                jmp cerror