diff --git a/src/dk/camelot64/kickc/asm/fragment/ptr_cowo1_yby=zpby1.asm b/src/dk/camelot64/kickc/asm/fragment/ptr_cowo1_yby=zpby1.asm new file mode 100644 index 000000000..3c8089e70 --- /dev/null +++ b/src/dk/camelot64/kickc/asm/fragment/ptr_cowo1_yby=zpby1.asm @@ -0,0 +1,2 @@ +lda {zpby1} +sta {cowo1},y \ No newline at end of file diff --git a/src/dk/camelot64/kickc/asm/fragment/yby=_dec_yby.asm b/src/dk/camelot64/kickc/asm/fragment/yby=_dec_yby.asm new file mode 100644 index 000000000..37aac7c98 --- /dev/null +++ b/src/dk/camelot64/kickc/asm/fragment/yby=_dec_yby.asm @@ -0,0 +1 @@ +dey \ No newline at end of file diff --git a/src/dk/camelot64/kickc/test/flipper-rex2.kc b/src/dk/camelot64/kickc/test/flipper-rex2.kc index a7c62dd96..ea351f2cf 100644 --- a/src/dk/camelot64/kickc/test/flipper-rex2.kc +++ b/src/dk/camelot64/kickc/test/flipper-rex2.kc @@ -34,12 +34,12 @@ void flip() { byte c = 16; do { buffer2[dstIdx] = buffer[srcIdx]; - srcIdx = srcIdx+1; + srcIdx++; dstIdx = dstIdx+16; c--; } while(c!=0) - dstIdx = dstIdx-1; - r=r-1; + dstIdx--; + r--; } while(r!=0) byte i=0; do {