prog8/compiler/examples/test.p8

17 lines
272 B
Plaintext
Raw Normal View History

%import c64utils
2019-01-02 22:32:41 +00:00
~ main {
2019-01-01 20:47:19 +00:00
2019-01-05 17:02:17 +00:00
word[1] rotatedx
sub start() {
word xc = 2
rpt:
word w = 2*xc
rotatedx[0] = w ; @ok!
rotatedx[0] = 2*xc ; @todo wrong code generated? crash!
c64.CHROUT('.')
goto rpt
}
2019-01-02 22:32:41 +00:00
}