Result

WA

Duration

540ms

Code [DL]

;hello.asm
extern printf
section .data

msg:	db "hello, world", 0x00
fmt:	db "%s", 0x0a, 0x00

section .text
global _start

_start:

	mov edi, fmt
	mov esi, msg
	mov eax, 0
	call printf

	mov    eax, 1
	mov    ebx, 0
	int    0x80

stdin

38 07 57
05 89 37
86 30 34
77 65 11

stdout

stderr

/tmp/code.o: In function `_start':
/tmp/code.asm:(.text+0x10): undefined reference to `printf'
collect2: error: ld returned 1 exit status
/bin/script: 16: /bin/script: /tmp/code: not found
rm: cannot remove '/tmp/code': No such file or directory

strace