1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-26 18:29:54 +00:00

Added a few fragments.

This commit is contained in:
jespergravgaard 2020-02-10 21:57:15 +01:00
parent 8fe8773dc1
commit 2daf1c0f87
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,11 @@
lda {m1}
sta $fc
lda {m1}+1
sta $fd
lda {m2}
sta $fe
lda {m2}+1
sta $ff
lda ($fc),y
lda ($fe),y

View File

@ -0,0 +1,12 @@
lda {m1}
sta $fc
lda {m1}+1
sta $fd
lda {m2}
sta $fe
lda {m2}+1
sta $ff
lda ($fc),y
cmp ($fe),y
beq {la1}

View File

@ -54,6 +54,7 @@ public class VariableBuilder {
public static VariableBuilderConfig getDefaultConfig(CompileLog log) {
VariableBuilderConfig config = new VariableBuilderConfig();
//config.addSetting("ma_mem", log, null);
//config.addSetting("pointer_ma_zp", log, null);
//config.addSetting("parameter_ssa_mem", log, null);
config.addSetting("ssa_zp", log, null);
config.addSetting("array_ma_mem", log, null);