/usr/share/doc/nasm/examples/nasmformat.asm is in nasm 2.09.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ;Testname=obj; Arguments=-fobj -onasmfomat.o; Files=stdout stderr nasmfomat.o
;Testname=bin; Arguments=-fbin -onasmfomat.o; Files=stdout stderr nasmfomat.o
;Testname=rdf; Arguments=-frdf -onasmfomat.o; Files=stdout stderr nasmfomat.o
%if __OUTPUT_FORMAT__ == 'bin'
db 'This is binary format file'
%elif __OUTPUT_FORMAT__ == 'obj'
db 'This is object format file'
%else
db 'This is some other format file'
%endif
|