1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-04-16 08:36:03 +00:00

Fixed a bug when we had to skip a direntry with a zero i-num.

This commit is contained in:
Warren Toomey
2016-03-20 09:26:55 +10:00
parent 520478a3e4
commit d1885214ce

View File

@@ -162,10 +162,12 @@ printname:
lac bufptr " Add 7 to the bufptr
tad d7
skp
jmp nextentry
skipentry:
lac bufptr " Add 8 to the bufptr if we skipped this entry entirely
tad d8 " Or add 8 if we skipped this entry entirely
nextentry:
dac bufptr
-8
tad count " Decrement the count of words by 8