fork download
  1. global _start
  2.  
  3. section .data
  4.  
  5. section .text
  6.  
  7. _start:
  8. push ebp
  9. mov ebp,esp
  10. cmp DWORD PTR[ebp + 0x8], 0x767
  11. jg 0x512
  12. cmp DWORD PTR[ebp + 0x8], 0x1f3
  13. jne 0x50a
  14. mov eax, DWORD PTR[ebp + 0x8]
  15. add eax, 0xb
  16. jmp 0x529
  17. mov eax, DWORD PTR[ebp + 0x8]
  18. sub eax, 0xb
  19. jmp 0x529
  20. cmp DWORD PTR[ebp + 0x8], 0xcde
  21. jne 0x523
  22. mov eax, DWORD PTR[ebp + 0x8]
  23. sub eax, 0xb
  24. jmp 0x529
  25. mov eax, DWORD PTR[ebp + 0x8]
  26. add eax, 0xb
  27. pop ebp
  28. ret
  29.  
  30. je exit
  31.  
  32. mov eax, 01h ; exit()
  33. xor ebx, ebx ; errno
  34. int 80h
  35.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:10: warning: `PTR' is not a NASM keyword [-w+ptr]
prog.asm:10: error: comma, colon, decorator or end of line expected after operand
prog.asm:12: warning: `PTR' is not a NASM keyword [-w+ptr]
prog.asm:12: error: comma, colon, decorator or end of line expected after operand
prog.asm:14: warning: `PTR' is not a NASM keyword [-w+ptr]
prog.asm:14: error: comma, colon, decorator or end of line expected after operand
prog.asm:17: warning: `PTR' is not a NASM keyword [-w+ptr]
prog.asm:17: error: comma, colon, decorator or end of line expected after operand
prog.asm:20: warning: `PTR' is not a NASM keyword [-w+ptr]
prog.asm:20: error: comma, colon, decorator or end of line expected after operand
prog.asm:22: warning: `PTR' is not a NASM keyword [-w+ptr]
prog.asm:22: error: comma, colon, decorator or end of line expected after operand
prog.asm:25: warning: `PTR' is not a NASM keyword [-w+ptr]
prog.asm:25: error: comma, colon, decorator or end of line expected after operand
ld: cannot find prog.o: No such file or directory
stdout
Standard output is empty