From 286acea85be17ad324e5a34100d23997544e2e3a Mon Sep 17 00:00:00 2001 From: Warren Toomey Date: Tue, 8 Mar 2016 20:05:14 +1000 Subject: [PATCH] With src/cmd/as.s modified to use als (because a7out is broken) and removing the definitions of . and .. from wktopr.s, I can now assemble cat.s with the PDP-7 as and execute the resulting a.out file! --- src/cmd/as.s | 3 ++- src/other/wktopr.s | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cmd/as.s b/src/cmd/as.s index 50a46ec..e36ea9e 100644 --- a/src/cmd/as.s +++ b/src/cmd/as.s @@ -324,7 +324,8 @@ putsc: 0 dac i sctalp " save pointer sma cla " skip if minus & clear AC jmp 1f " AC positive - llss 27 " get char in high 9 bits, zero in low + lacq + als 9 " get char in high 9 bits, zero in low dac i sctal " store word lrss 9 " shift char back down jmp i putsc " return diff --git a/src/other/wktopr.s b/src/other/wktopr.s index 7b87b7d..a918f61 100644 --- a/src/other/wktopr.s +++ b/src/other/wktopr.s @@ -1,5 +1,5 @@ -. = 01000000 -.. = 4096 +" . = 01000000 +" .. = 4096 save = 1 getuid = 2 open = 3