prog8/compiler/test/fixtures/asmIncludeFromSameFolder.p8

14 lines
307 B
Plaintext
Raw Normal View History

%import textio
main {
str myBar = "main.bar"
;foo_bar:
2021-10-18 23:12:28 +00:00
; %asminclude "foo_bar.asm" ; TODO: 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"
}
}