prog8/compiler/test/fixtures/asmIncludeFromSameFolder.p8

17 lines
223 B
Plaintext
Raw Permalink Normal View History

%import textio
main {
str myBar = "main.bar"
2022-02-14 23:25:18 +00:00
foo_bar:
%asminclude "foo_bar.asm"
sub start() {
txt.print(myBar)
txt.print(&foo_bar)
return
2022-02-14 23:25:18 +00:00
foo_bar_inside_start:
%asminclude "foo_bar.asm"
}
}