2018-12-11 23:15:05 +00:00
|
|
|
%import c64utils
|
2019-01-11 19:24:36 +00:00
|
|
|
%import c64flt
|
2019-01-02 22:32:41 +00:00
|
|
|
|
2018-12-04 21:30:35 +00:00
|
|
|
~ main {
|
2019-01-01 20:47:19 +00:00
|
|
|
|
2019-01-05 17:02:17 +00:00
|
|
|
sub start() {
|
2019-01-06 07:17:18 +00:00
|
|
|
|
2019-01-11 01:35:57 +00:00
|
|
|
ubyte i = 10
|
|
|
|
ubyte ub2
|
|
|
|
byte j = 5
|
|
|
|
byte b2
|
|
|
|
uword uw = 1000
|
|
|
|
uword uw2
|
|
|
|
word w = 1000
|
|
|
|
word w2
|
2019-01-11 19:24:36 +00:00
|
|
|
float f1 = 1.1
|
|
|
|
float f2 = 2.2
|
|
|
|
|
2019-01-11 21:15:05 +00:00
|
|
|
b2 = j + (-1)
|
|
|
|
b2 = (-1) + j
|
|
|
|
b2 = j - (-1)
|
|
|
|
b2 = (-1) -j ; should not be reordered
|
|
|
|
b2 = j+1
|
|
|
|
b2 = 1+j
|
|
|
|
b2 = 1-j ; should not be reordered
|
2019-01-11 19:24:36 +00:00
|
|
|
|
2019-01-11 21:15:05 +00:00
|
|
|
j = j + (-1)
|
|
|
|
j = (-1) + j
|
|
|
|
j = j - (-1)
|
|
|
|
j = (-1) -j ; should not be reordered
|
|
|
|
j = j+1
|
|
|
|
j = 1+j
|
|
|
|
j = 1-j ; should not be reordered
|
2019-01-06 01:32:51 +00:00
|
|
|
}
|
2019-01-02 22:32:41 +00:00
|
|
|
}
|