fork download
  1. .386
  2. .model flat, stdcall
  3. option casemap:none
  4. include windows.inc
  5. include kernel32.inc
  6. includelib kernel32.lib
  7.  
  8. .data
  9. cmd db "calc.exe", 0
  10.  
  11. .code
  12.  
  13. Main PROC
  14. jmp two
  15. one:
  16. pop eax
  17. push SW_SHOW
  18. push eax
  19. call WinExec
  20. push 0
  21. call ExitProcess
  22. two:
  23. call one
  24. db "calc.exe", 0
  25. Main ENDP
  26.  
  27. end Main
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:1: error: expected identifier or '(' before numeric constant
 .386
 ^
stdout
Standard output is empty