Ancient VM
Search…
Modules
Note: Only entry module has accept top level instructions
1
; entry_module.asm
2
#use "./test.asm"
3
.call.i !{testFunction()}
Copied!
1
; test.asm
2
.sig @testFunction(void) -> void
3
.mva &(0x9) &(0xB) <| $(0x0)
4
.ret
Copied!

Using project module in local

1
#use "./local-module.asm"
Copied!

Using global module

1
#use "global-module"
Copied!

Use list modules

Note: Currently not implemented
1
#use ["m1", "m2", "m3"]
Copied!

See also

Last modified 1yr ago
Copy link