by@__dAi00
WA
498ms
;hello.asm extern printf section .data msg: db "hello, world", 0x00 fmt: db "%s", 0x0a, 0x00 section .text global _start _start: mov rdi, fmt mov rsi, msg mov rax, 0 call printf mov rax, 1 mov rbx, 0 int 0x80
37 56 58 95 37 61 07 09 73 92 26 16
/tmp/code.asm:13: error: instruction not supported in 32-bit mode /tmp/code.asm:14: error: instruction not supported in 32-bit mode /tmp/code.asm:15: error: instruction not supported in 32-bit mode /tmp/code.asm:18: error: instruction not supported in 32-bit mode /tmp/code.asm:19: error: instruction not supported in 32-bit mode gcc: error: /tmp/code.o: No such file or directory gcc: fatal error: no input files compilation terminated. /bin/script: 16: /bin/script: /tmp/code: not found rm: cannot remove '/tmp/code.o': No such file or directory rm: cannot remove '/tmp/code': No such file or directory