From e0c4c6bbcf1595c4a01cc349d3d4f6eab124a032 Mon Sep 17 00:00:00 2001 From: CrazyEttin <> Date: Sat, 13 Aug 2022 03:34:42 +0300 Subject: [PATCH] Fix a major bug that resulted in line inserting to not function properly --- gidubba.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gidubba.asm b/gidubba.asm index 24eb7f9..88b1622 100644 --- a/gidubba.asm +++ b/gidubba.asm @@ -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