In asxlat, translate ! to ~ (not operator; used with bic instruction)
authorNick Downing <nick@ndcode.org>
Thu, 11 Aug 2022 07:32:04 +0000 (17:32 +1000)
committerNick Downing <nick@ndcode.org>
Thu, 11 Aug 2022 07:32:04 +0000 (17:32 +1000)
bin/aspdp11
usr/src/libc/csu/fmcrt0.s
usr/src/libc/csu/mcrt0.s
usr/src/libc/stdio/doprnt.s
usr/src/libc/v6/syscall.s

index e0dbce6..a749adc 100755 (executable)
Binary files a/bin/aspdp11 and b/bin/aspdp11 differ
index b1cbf63..97a2f7e 100644 (file)
@@ -42,7 +42,7 @@ start:
        sub     #eprol,r1
        add     #7,r1
        ash     #-3,r1
-       bic     #!0o17777,r1
+       bic     #~0o17777,r1
        mov     #cbufs,-(sp)
        add     #3*[cbufs+1],r1
        mov     r1,-(sp)
index 32cd511..f1b5eb5 100644 (file)
@@ -37,7 +37,7 @@ start:
        sub     #eprol,r1
        add     #7,r1
        ash     #-3,r1
-       bic     #!0o17777,r1
+       bic     #~0o17777,r1
        mov     #cbufs,-(sp)
        add     #3*[cbufs+1],r1
        mov     r1,-(sp)
index 4f6f82c..b150497 100644 (file)
@@ -245,7 +245,7 @@ _22:
 charac:
        mov     #' ,zfill(r5)
        mov     (r4)+,r0
-       bic     #!0o377,r0
+       bic     #~0o377,r0
        beq     prbuf
        movb    r0,(r3)+
        br      prbuf
index 2823ee4..98b5b21 100644 (file)
@@ -7,7 +7,7 @@ _syscall:
        add     #4,r2
        mov     #0$,r3
        mov     (r2)+,r0
-       bic     #!0o377,r0
+       bic     #~0o377,r0
        bis     #sys,r0
        mov     r0,(r3)+
        mov     (r2)+,r0