0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/test/note.asm
H. Peter Anvin (Intel) 42b9579f90 preproc: add new %note directive
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>
2018-06-27 22:03:01 -07:00

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