Skip to content
Luke Newcomb edited this page Feb 15, 2021 · 1 revision

Usage

Build-specific usage can be found by running kasm --help.

As of KASM version 0.9.12:

kasm [FLAGS] [OPTIONS] <INPUT>

FLAGS:

-h, --help               Prints help information
-p, --preprocess-only    Instead of outputting an object file, emits KASM after the preprocessing step.
-V, --version            Prints version information

OPTIONS:

-c, --comment <comment>              Sets the comment field of the output object file to the value of this. Defaults
                                     to KASM and the current version.
-f, --file <file>                    Adds a file symbol to the generated object file with the given name. Defaults  
                                     to input file name.
-i, --include-path=<include_path>    Specifies the include path for the assembler. Defaults to the current working  
                                     directory.
-o, --output <output_path>           Sets the output file to use

ARGS:

<INPUT>    Sets the input file to use
Clone this wiki locally