mirror of
https://github.com/irmen/prog8.git
synced 2024-11-29 01:49:22 +00:00
38 lines
353 B
Plaintext
38 lines
353 B
Plaintext
%zeropage full
|
|
%address 33
|
|
%option enable_floats
|
|
%option enable_floats
|
|
|
|
~ extra {
|
|
; this is imported
|
|
|
|
X = 42
|
|
return 44
|
|
}
|
|
|
|
~ extra2 {
|
|
; this is imported
|
|
|
|
X = 42
|
|
return 44
|
|
|
|
label_in_extra2:
|
|
X = 33
|
|
|
|
sub sub_in_extra2() -> () {
|
|
return
|
|
}
|
|
sub another_sub_in_extra2() -> () {
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
~ main2 {
|
|
; this is imported
|
|
|
|
X = 42
|
|
return 44
|
|
}
|
|
|