Options
-b
Build an executable file.
-c
Compile to bytecode. This option will produce a file with .aupc
extension, which contains bytecode and metadata.
-d
Dump generated code.
@main()
; k0 = 3
000000 LDF r1, [0]
000001 BOOL r2, [true]
000002 JZ [L5], r2
000003 LDK r2, k0
000004 PRI r2, [1]
000005 RET
-g
Enable debug mode.
-h
Show help.
-O
Enable code optimization. Currently, support:
Constant folding/SSA
Smart register allocation
Optimization means program in release mode, so you cannot debug it.
-v
Show version and build date.
Last updated
Was this helpful?