mirror of
https://github.com/DoctorWkt/pdp7-unix.git
synced 2026-04-19 17:23:06 +00:00
Merge pull request #207 from sebras/typos/ds.s
Fix typos in ds.s after manual review.
This commit is contained in:
@@ -67,7 +67,7 @@ loop:
|
||||
jmp 1b
|
||||
|
||||
lac ddfilp
|
||||
tad i1
|
||||
tad d1
|
||||
dac i1
|
||||
lac i1 i
|
||||
dac .+3
|
||||
@@ -111,7 +111,7 @@ loop:
|
||||
dzm fflg
|
||||
law fbuf
|
||||
dac i2
|
||||
r1
|
||||
-1
|
||||
tad nfiles
|
||||
cma
|
||||
dac c2
|
||||
@@ -126,7 +126,7 @@ loop:
|
||||
-1
|
||||
tad i1
|
||||
dac i3
|
||||
iac i3 i
|
||||
lac i3 i
|
||||
dac c3
|
||||
law fbuf
|
||||
dac i3
|
||||
|
||||
@@ -72,7 +72,7 @@ loop:
|
||||
jmp 1b
|
||||
|
||||
lac ddfilp
|
||||
tad i1
|
||||
tad d1
|
||||
dac i1
|
||||
lac i1 i
|
||||
dac .+3
|
||||
@@ -382,7 +382,7 @@ octal: 0
|
||||
lac octal i " Save the actual number of print digits into c
|
||||
dac c " as a negative number.
|
||||
1:
|
||||
cla
|
||||
ecla
|
||||
llss 3 " Shift 3 more bits into AC
|
||||
tad o60 " Add AC to ASCII '0'
|
||||
jms putc " and print out the digit
|
||||
|
||||
Reference in New Issue
Block a user