mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-19 00:29:29 +00:00
Using ++/-- post increment/decrement operators.
This commit is contained in:
parent
ed7a4dded9
commit
e271abb8a0
@ -0,0 +1,2 @@
|
|||||||
|
lda {zpby1}
|
||||||
|
sta {cowo1},y
|
1
src/dk/camelot64/kickc/asm/fragment/yby=_dec_yby.asm
Normal file
1
src/dk/camelot64/kickc/asm/fragment/yby=_dec_yby.asm
Normal file
@ -0,0 +1 @@
|
|||||||
|
dey
|
@ -34,12 +34,12 @@ void flip() {
|
|||||||
byte c = 16;
|
byte c = 16;
|
||||||
do {
|
do {
|
||||||
buffer2[dstIdx] = buffer[srcIdx];
|
buffer2[dstIdx] = buffer[srcIdx];
|
||||||
srcIdx = srcIdx+1;
|
srcIdx++;
|
||||||
dstIdx = dstIdx+16;
|
dstIdx = dstIdx+16;
|
||||||
c--;
|
c--;
|
||||||
} while(c!=0)
|
} while(c!=0)
|
||||||
dstIdx = dstIdx-1;
|
dstIdx--;
|
||||||
r=r-1;
|
r--;
|
||||||
} while(r!=0)
|
} while(r!=0)
|
||||||
byte i=0;
|
byte i=0;
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user