prog8/compiler/test/fixtures/asmIncludeFromSameFolder.p8
2021-10-10 23:00:31 +02:00

14 lines
308 B
Lua

%import textio
main {
str myBar = "main.bar"
;foo_bar:
; %asminclude "foo_bar.asm" ; FIXME: should be accessible from inside start() but give assembler error. See github issue #62
sub start() {
txt.print(myBar)
txt.print(&foo_bar)
return
foo_bar:
%asminclude "foo_bar.asm"
}
}