Messages
Assembly Unit
-WmsgFob<string>
<string>: format string (see below).
-WmsgFob"%f%e(%l): %K %d: %m\n"
With this option it is possible to modify the default message format in the batch mode. The formats in in the following listing are supported (assumed that the source file is x:\Freescale\sourcefile.asmx).
Format Description Example ---------------------------------------------------- %s Source Extract %p Path x:\Freescale\ %f Path and name x:\Freescale\sourcefile %n Filename sourcefile %e Extension .asmx %N File (8 chars) sourcefi %E Extension (3 chars) .asm %l Line 3 %c Column 47 %o Pos 1234 %K Uppercase kind ERROR %k Lowercase kind error %d Number A1051 %m Message text %% Percent % \n New line
ASMOPTIONS=-WmsgFob"%f%e(%l): %k %d: %m\n"
produces a message, displayed in in the following listing, using the format in in the above listing. The options are set for producing the path of a file with its filename, extension, and line.
x:\Freescale\sourcefile.asmx(3): error A1051: Right parenthesis expected
Assembler options: