Fix a major bug that resulted in line inserting to not function properly
This commit is contained in:
parent
27bd4fbc12
commit
e0c4c6bbcf
|
@ -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
|
;Store the save address
|
||||||
;High byte
|
;High byte
|
||||||
|
@ -208,6 +208,7 @@ instrt: cleq r0, r0, prnln
|
||||||
store cmpadr, r3
|
store cmpadr, r3
|
||||||
;Low byte
|
;Low byte
|
||||||
load r0, sublod + 2
|
load r0, sublod + 2
|
||||||
|
store subchk + 2, r0
|
||||||
store cmpadr + 1, r0
|
store cmpadr + 1, r0
|
||||||
|
|
||||||
;Find the end of the save address
|
;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
|
;Store the low byte in r3
|
||||||
decdw: xor r3, r3
|
decdw: xor r3, r3
|
||||||
|
|
Loading…
Reference in New Issue