mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
Add a new %note directive to issue a note into the list file without printing a message. The difference between %note and a comment is that a %note will be issued with single-line macros expanded, and will be issued even if it occurs inside a .nolist macro. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
24 lines
297 B
NASM
24 lines
297 B
NASM
bits 32
|
|
%define bluttan 66h
|
|
foo:
|
|
db bluttan
|
|
%warning "bluttan" = bluttan
|
|
db 67h
|
|
db 60000,60000
|
|
%note "bluttan" = bluttan
|
|
nop
|
|
|
|
%macro warnalot 0.nolist
|
|
db 60000,60000
|
|
db 60000,60000
|
|
%endmacro
|
|
|
|
warnalot
|
|
|
|
%macro warnalotl 0
|
|
db 60000,60000
|
|
db 60000,60000
|
|
%endmacro
|
|
|
|
warnalotl
|