1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-31 22:12:36 +00:00

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!
This commit is contained in:
Warren Toomey
2016-03-08 20:05:14 +10:00
parent 77505026ae
commit 286acea85b
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -1,5 +1,5 @@
. = 01000000
.. = 4096
" . = 01000000
" .. = 4096
save = 1
getuid = 2
open = 3