Fix a major bug that resulted in line inserting to not function properly

This commit is contained in:
CrazyEttin 2022-08-13 03:34:42 +03:00
parent 27bd4fbc12
commit e0c4c6bbcf
1 changed files with 3 additions and 2 deletions

View File

@ -199,7 +199,7 @@ instrt: cleq r0, r0, prnln
;***
;Make room for the line (To do!)
;Make room for the line
;Store the save address
;High byte
@ -208,6 +208,7 @@ instrt: cleq r0, r0, prnln
store cmpadr, r3
;Low byte
load r0, sublod + 2
store subchk + 2, r0
store cmpadr + 1, r0
;Find the end of the save address
@ -617,7 +618,7 @@ incdw: xor r3, r3
;***
;Decrement a value stored in r0 and r1 (To do!)
;Decrement a value stored in r0 and r1
;Store the low byte in r3
decdw: xor r3, r3