-WmsgFb (-WmsgFbv, -WmsgFbm): Set message file format for batch mode

Group

Messages

Scope

Assembly Unit

Syntax
-WmsgFb[v|m]

Arguments

v: Verbose format.

m: Microsoft format.

Default
-WmsgFbm

Description

The Assembler can be started with additional arguments (e.g., files to be assembled together with assembler options). If the Assembler has been started with arguments (e.g., from the Make tool), the Assembler works in the batch mode. That is, no assembler window is visible and the Assembler terminates after job completion.

If the Assembler is in batch mode, the Assembler messages are written to a file and are not visible on the screen. This file only contains assembler messages (see examples below).

The Assembler uses a Microsoft message format as the default to write the assembler messages (errors, warnings, or information messages) if the Assembler is in the batch mode.

With this option, the default format may be changed from the Microsoft format (with only line information) to a more verbose error format with line, column, and source information.

Example

Assume that the assembly source code in the following listing is to be assembled in the batch mode.

Listing: Example assembly source code

var1:   equ  5
var2:   equ  5

  if (var1=var2)

    NOP

  endif

endif

The Assembler generates the error output, as shown in the following listing, in the assembler window if it is running in batch mode:

Listing: Example error listing in the Microsoft (default) format for batch mode

X:\TW2.ASM(12):ERROR: Conditional else not allowed here.

If the format is set to verbose, more information is stored in the file:

Listing: Example error listing in the verbose format for batch mode

ASMOPTIONS=-WmsgFbv
>> in "C:\tw2.asm", line 6, col 0, pos 81

  endif

^

ERROR A1001: Conditional else not allowed here
See also

ERRORFILE: Filename specification error

-WmsgFi (-WmsgFiv, -WmsgFim): Set message file format for interactive mode

-WmsgFob: Message format for batch mode

-WmsgFoi: Message format for interactive mode

-WmsgFonf: Message format for no file information

-WmsgFonp: Message format for no position information