mirror of
https://github.com/PDP-10/its.git
synced 2026-01-11 23:53:12 +00:00
Fix MCHOKP.
If MCHOKP was called with A=0, it would mistakenly match this against an empty MCHTAB entry and do a skip return to indicate a valid ITS name. To fix this, the check for an empty entry is moved up.
This commit is contained in:
parent
4557f5dac3
commit
9af9290529
@ -954,9 +954,10 @@ bret: aos -1(p)
|
||||
mchok0: camn a,[sixbit /DSK/] ;is this the local machine?
|
||||
jrst [ move a,itsnam ? jrst popj1] ;then use that instead
|
||||
movsi b,-mchcnt ;for all the machines
|
||||
mchok1: camn a,mchtab(b) ;is it this one?
|
||||
mchok1: skipn mchtab(b) ;empty table entry?
|
||||
ret ; yes, exit early
|
||||
camn a,mchtab(b) ;is it this one?
|
||||
jrst popj1 ; yes, it's OK
|
||||
skipe mchtab(b)
|
||||
aobjn b,mchok1 ;no, try next
|
||||
ret
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user