/w Generation of warning messages
/w-[warnclass]
/w+[warnclass]
The /w option controls which warning messages are emitted by Turbo
Assembler.
If you specify /w by itself, "mild" warnings are enabled. Mild
warnings merely indicate that you can improve some aspect of
your code's efficiency.
If you specify /w- without warnclass, all warnings are disabled.
If you follow /w- with warnclass, only that warning is disabled.
Each warning message has a three-letter identifier; refer to
WARN for a list of warnclasses.
If you specify /w+ without warnclass, all warnings are enabled.
If you specify /w+ with warnclass from the preceding list, only
that warning will be enabled.
By default, Turbo Assembler first starts assembling your file
with all warnings enabled except the inefficient code-generation
(ICG) and the write-to-memory in protected mode (PRO) warnings.
You can use the WARN and NOWARN directives within your source
file to control whether a particular warning is allowed for a
certain range of source lines.
Example: TASM /w TEST1
The following statement in TEST1.ASM issues a warning message
that would not have appeared without the /w option:
mov bx,ABC ; Inefficient code generation warning
ABC = 1
With the command line TASM /w-OVF TEST2
no warnings are generated if TEST2.ASM contains
dw 1000h * 20h