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:
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
. = 01000000
|
||||
.. = 4096
|
||||
" . = 01000000
|
||||
" .. = 4096
|
||||
save = 1
|
||||
getuid = 2
|
||||
open = 3
|
||||
|
||||
Reference in New Issue
Block a user