2019-06-24 02:09:30 +00:00
|
|
|
%import c64utils
|
2019-02-02 23:14:56 +00:00
|
|
|
%zeropage basicsafe
|
2019-06-25 21:36:54 +00:00
|
|
|
%import c64flt
|
|
|
|
|
2019-03-29 01:13:28 +00:00
|
|
|
|
2019-03-19 00:22:26 +00:00
|
|
|
~ main {
|
2019-04-21 01:04:13 +00:00
|
|
|
|
2019-02-21 00:31:33 +00:00
|
|
|
sub start() {
|
2019-06-27 22:10:27 +00:00
|
|
|
ubyte[100] arr1
|
|
|
|
ubyte[100] arr2
|
2019-06-26 20:29:10 +00:00
|
|
|
|
2019-06-28 00:57:13 +00:00
|
|
|
word w1 = 1111
|
|
|
|
word w2 = 2222
|
|
|
|
|
|
|
|
swap(w1, w2)
|
|
|
|
swap(A, Y)
|
|
|
|
swap(arr1[10], arr2[20])
|
|
|
|
swap(arr1[10], Y)
|
|
|
|
swap(Y, arr2[10])
|
|
|
|
swap(@($d020), @($d021))
|
2019-06-27 23:21:31 +00:00
|
|
|
}
|
2019-04-11 22:04:15 +00:00
|
|
|
}
|