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:
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;
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user