2018-08-16 21:10:28 +00:00
|
|
|
%zeropage full
|
2018-08-12 21:09:59 +00:00
|
|
|
%address 33
|
|
|
|
|
2018-08-13 18:28:15 +00:00
|
|
|
~ extra3 {
|
2018-08-12 21:09:59 +00:00
|
|
|
; this is imported
|
|
|
|
|
|
|
|
X = 42
|
|
|
|
return 44
|
|
|
|
}
|
|
|
|
|
2018-08-13 18:28:15 +00:00
|
|
|
~ extra233 {
|
2018-08-12 21:09:59 +00:00
|
|
|
; this is imported
|
|
|
|
|
2018-08-31 19:46:14 +00:00
|
|
|
const byte snerp=33
|
|
|
|
const byte snerp2 = snerp+22
|
|
|
|
|
|
|
|
X = 42+snerp
|
2018-09-07 22:07:25 +00:00
|
|
|
;return 44+snerp
|
|
|
|
return
|
2018-08-31 16:32:33 +00:00
|
|
|
|
2018-08-31 19:46:14 +00:00
|
|
|
sub foo234234() -> () {
|
|
|
|
A=99+snerp
|
2018-09-07 22:07:25 +00:00
|
|
|
;return A+snerp2
|
|
|
|
return
|
2018-08-31 16:32:33 +00:00
|
|
|
}
|
|
|
|
|
2018-09-14 17:38:22 +00:00
|
|
|
sub thingy()->(X) {
|
2018-09-07 22:07:25 +00:00
|
|
|
;return 99
|
|
|
|
return
|
2018-09-04 23:28:06 +00:00
|
|
|
}
|
2018-08-12 21:09:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-08-13 18:28:15 +00:00
|
|
|
~ mainzzz {
|
2018-08-12 21:09:59 +00:00
|
|
|
; this is imported
|
|
|
|
|
|
|
|
X = 42
|
2018-09-07 22:07:25 +00:00
|
|
|
;return 44
|
|
|
|
return
|
2018-08-12 21:09:59 +00:00
|
|
|
}
|
|
|
|
|