/usr/share/doc/nasm/examples/local.asm is in nasm 2.11.05-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 18 19 | ;Testname=test; Arguments=-fbin -olocal.bin; Files=stdout stderr local.bin
bits 32
%push bluttan
%define %$localsize 0
%stacksize flat
%local l1:qword, l2:dword, l3:dword, l4:qword
%arg a1:qword, a2:dword, a3:dword, a4:qword
mov eax,[a1]
mov ebx,[a2]
mov ecx,[a3]
mov edx,[a4]
mov [l1],eax
mov [l2],ebx
mov [l3],ecx
mov [l4],edx
|