prog8/il65/examples/imported2.ill
2018-09-01 00:03:32 +02:00

35 lines
355 B
Plaintext

%zeropage full
%address 33
~ extra3 {
; this is imported
X = 42
return 44
}
~ extra233 {
; this is imported
const byte snerp=33
const byte snerp2 = snerp+22
X = 42+snerp
return 44+snerp
sub foo234234() -> () {
A=99+snerp
return A+snerp2
}
}
~ mainzzz {
; this is imported
X = 42
return 44
}