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
|
|
|
|
return 44+snerp
|
2018-08-31 16:32:33 +00:00
|
|
|
|
2018-08-31 19:46:14 +00:00
|
|
|
sub foo234234() -> () {
|
|
|
|
A=99+snerp
|
|
|
|
return A+snerp2
|
2018-08-31 16:32:33 +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
|
|
|
|
return 44
|
|
|
|
}
|
|
|
|
|