Modules

Note: Only entry module has accept top level instructions

; entry_module.asm
#use "./test.asm"
.call.i !{testFunction()}
; test.asm
.sig @testFunction(void) -> void
.mva &(0x9) &(0xB) <| $(0x0)
.ret

Using project module in local

#use "./local-module.asm"

Using global module

#use "global-module"

Use list modules

Note: Currently not implemented

#use ["m1", "m2", "m3"]

See also