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

Using ++/-- post increment/decrement operators.

This commit is contained in:
Jesper Gravgaard 2017-07-13 23:48:25 +02:00
parent ed7a4dded9
commit e271abb8a0
3 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,2 @@
lda {zpby1}
sta {cowo1},y

View File

@ -0,0 +1 @@
dey

View File

@ -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 {