From 0c908a937950627b2f097462cf0ec2fd25610831 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 16 Jun 2022 15:17:14 -0700 Subject: [PATCH] (calc.tal) Fixes issue with pushing any value comprised of two bytes which add to zero --- projects/software/calc.tal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/software/calc.tal b/projects/software/calc.tal index 54bf7f1..06be4ac 100644 --- a/projects/software/calc.tal +++ b/projects/software/calc.tal @@ -211,7 +211,7 @@ JMP2r @do-push ( -- ) - .input/value LDZ2 ADD #00 GTH JMP JMP2r + .input/value LDZ2 #0000 GTH2 JMP JMP2r .stack/length LDZ #07 LTH JMP JMP2r #40 .Audio0/pitch DEO .input/value LDZ2 ;push JSR2