The yasm command assembles the file
infile and directs output to the file
outfile if specified. If
outfile is not specified, yasm will derive a default output file name from the
name of its input file, usually by appending
.obj, or by removing all extensions for a raw binary file.
Failing that, the output file name will be
If called with an
infile of “-”, yasm assembles the standard input and directs output to
yasm.out if no
If errors or warnings are discovered during execution, Yasm outputs the error message
stderr (usually the terminal). If no errors or warnings
are encountered, Yasm does not output any messages.