lasmgen filename [-i][-h]
filename : Path of the assembly file. Ignore the full path if assembly file is located in the default directory.
-i : Optional parameter to generate intermediate file. If this flag specified compiler generate ".int" file with all the intermediate conversion steps. This file is useful for compiler level debugging.
-h : Optional parameter to generate hexadecimal output file (".hex" file). This hex file is not compatible with Intel Hex file format.
Compile "demo.asm" file with default parameters
lasmgen demo.asm
Compile "demo.asm" file with intermediate file flag
lasmgen demo.asm -i
Compile "demo.asm" file with hexadecimal output file
lasmgen demo.asm -h
Compile "demo.asm" file with both hexadecimal and intermediate output files
lasmgen demo.asm -h -i