/usr/share/fasm/examples/elfobj/msgdemo.asm is in fasm 1.73.02-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 20 21 22 23 24 25 26 | ; fasm demonstration of assembling object files
; compile the program using commands like:
; fasm msgdemo.asm msgdemo.o
; fasm writemsg.asm writemsg.o
; ld msgdemo.o writemsg.o -o msgdemo
format ELF
section '.text' executable
public _start
_start:
extrn writemsg
mov esi,msg
call writemsg
mov eax,1
xor ebx,ebx
int 0x80
section '.data' writeable
msg db "Elves are coming!",0xA,0
|