Add empty tape reader checking
This commit is contained in:
parent
ec3cf94c06
commit
8615d52cd6
|
@ -569,6 +569,10 @@ chrsto: store buffer + 100, r1
|
||||||
load r2, sub
|
load r2, sub
|
||||||
breq r1, r2, redend
|
breq r1, r2, redend
|
||||||
|
|
||||||
|
;Check for empty tape reader
|
||||||
|
xor r2, r2
|
||||||
|
breq r1, r2, redend
|
||||||
|
|
||||||
;Increment the save address
|
;Increment the save address
|
||||||
;Load the address
|
;Load the address
|
||||||
load r0, chrsto + 1
|
load r0, chrsto + 1
|
||||||
|
|
Loading…
Reference in New Issue