fixed zp vars 0 initialization

This commit is contained in:
Irmen de Jong
2025-07-22 21:47:59 +02:00
parent e2901cca1b
commit 866313209b
10 changed files with 175 additions and 24 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
TODO
====
BUG: fix ZP variables no longer getting initialized to 0 (see test.p8)
Since fixing the missing zp-var initialization, programs grew in size again (assem)
Are there any redundant block-level variable initializations to 0 that we can remove in peephole optimization for example?
STRUCTS: are being developed in their own separate branch for now, called "structs".
Idea is to make it feature complete in the IR/Virtual target, then merge it to master?, and then start building the 6502 code generation for it.