1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-26 12:49:21 +00:00

added fragment.

This commit is contained in:
jespergravgaard 2021-11-03 06:54:43 +01:00
parent 73006553bd
commit ff2afd7c9e
8 changed files with 15 additions and 7 deletions

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE e65dd24b5 e65dd4993
//KICKC FRAGMENT CACHE cabdd9118 cabddb616
//FRAGMENT vbuzz=vbuc1
ldz #{c1}
//FRAGMENT vbuzz_lt_vbuc1_then_la1

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE e65dd24b5 e65dd4993
//KICKC FRAGMENT CACHE cabdd9118 cabddb616
//FRAGMENT vbuz1=vbuc1
ldz #{c1}
stz {z1}

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE e65dd24b5 e65dd4993
//KICKC FRAGMENT CACHE cabdd9118 cabddb616
//FRAGMENT vbuz1=vbuc1
lda #{c1}
sta {z1}

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE e65dd24b5 e65dd4993
//KICKC FRAGMENT CACHE cabdd9118 cabddb616
//FRAGMENT vbuz1=vbuc1
lda #{c1}
sta {z1}

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE e65dd24b5 e65dd4993
//KICKC FRAGMENT CACHE cabdd9118 cabddb616
//FRAGMENT _deref_pbuc1=_inc__deref_pbuc1
inc {c1}
//FRAGMENT isr_hardware_all_entry

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE e65dd24b5 e65dd4993
//KICKC FRAGMENT CACHE cabdd9118 cabddb616
//FRAGMENT vbuz1=_deref_pbuc1
lda {c1}
sta {z1}

View File

@ -0,0 +1,8 @@
stx $fd
lda {m1}
sta $fe
lda {m1}+1
sta $ff
lda ($fe),y
cmp $fd
bne {la1}

View File

@ -11,7 +11,7 @@ public class TestProgramsFast extends TestPrograms {
@Test
public void testTmpZpProblem() throws IOException {
compileAndCompare("tmp-zp-problem.c", log());
compileAndCompare("tmp-zp-problem.c");
}
@Test