by@__dAi00
WA
499ms
section .data section .text global main write: mov edx, 1 mov ecx, esp add ecx, 16 mov ebx, 1 mov eax, 4 int 0x80 nop leave ret is: mov ebp,esp sub esp,40 mov edx, ebp add edx, 8 cmp DWORD PTR [edx],0 je L1 mov edx, ebp add edx, 8 mov ecx, DWORD PTR [edx] mov edx, ecx ; mod LL: cmp edx, 10 jl LE sub edx, 10 jmp LL LE: add edx, 0x30 mov edi, esp add edi, 16 mov DWORD PTR [edi], edx div ecx, 10 sub edi, 8 mov DWORD PTR [edi], ecx call is call write L1: leave ret main: push ebp mov ebp, esp sub esp, 80 mov edi, esp add edi, 8 mov DWORD PTR [edi], 8998 leave ret
31 64 18 04 51 82 06 51 22 45 03 58
/tmp/code.asm:21: error: comma, colon, decorator or end of line expected after operand /tmp/code.asm:25: error: comma, colon, decorator or end of line expected after operand /tmp/code.asm:38: error: comma, colon, decorator or end of line expected after operand /tmp/code.asm:41: error: comma, colon, decorator or end of line expected after operand /tmp/code.asm:54: error: comma, colon, decorator or end of line expected after operand 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