-WmsgFoi: Message format for interactive mode

Group

Messages

Scope

Assembly Unit

Syntax
  -WmsgFoi<string>
  
  
Arguments

<string>: format string (see below)

Default
  -WmsgFoi"\n>> in \"%f%e\", line %l, col %c, pos 
  %o\n%s\n%K %d: %m\n"

  
Description

With this option it is possible modify the default message format in interactive mode. The following formats are supported (supposed that the source file is x:\Freescale\sourcefile.asmx):

Listing: Supported message formats - interactive mode

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
Example
  ASMOPTIONS=-WmsgFoi"%f%e(%l): %k %d: %m\n"
  
  

produces a message in following listed format:

Listing: Error message resulting from the statement above

x:\Freescale\sourcefile.asmx(3): error A1051: Right parenthesis
expected
See also

ERRORFILE: Filename specification error environment variable

Assembler options: