tweak the code slightly

This commit is contained in:
CrazyEttin 2022-10-14 20:19:00 +03:00
parent 5da4ffa1b1
commit 79fc294506
1 changed files with 3 additions and 7 deletions

View File

@ -904,10 +904,6 @@ write: load r0, #ff
;Write
cleq r0, r0, prwr
;Write an end-of-file
load r0, #1a
store fffd, r0
;Return to the command prompt
breq r0, r0, cmdp
@ -1793,13 +1789,13 @@ prwr: load r0, svstrt
;Load a character from the save
chprwr: load r1, buffer + 100
;Print the character
prwrch: store fffe, r1
;Check for the save end
load r2, #1a
breq r1, r2, pwend
;Print the character
prwrch: store fffe, r1
;Increment the save address
;Load the address
load r0, chprwr + 1