Add empty tape reader checking

This commit is contained in:
CrazyEttin 2022-08-15 17:19:57 +03:00
parent ec3cf94c06
commit 8615d52cd6
1 changed files with 4 additions and 0 deletions

View File

@ -569,6 +569,10 @@ chrsto: store buffer + 100, r1
load r2, sub
breq r1, r2, redend
;Check for empty tape reader
xor r2, r2
breq r1, r2, redend
;Increment the save address
;Load the address
load r0, chrsto + 1