fork download
  1. .486p
  2. .model flat,STDCALL
  3. include win32.inc
  4.  
  5. extrn MessageBoxA:PROC
  6. extrn ExitProcess:PROC
  7.  
  8. .data
  9.  
  10. HelloWorld db "Hello, World!",0
  11. msgTitle db "Hello world program",0
  12.  
  13. .code
  14. Start:
  15. push MB_ICONQUESTION + MB_APPLMODAL + MB_OK
  16. push offset msgTitle
  17. push offset HelloWorld
  18. push 0
  19. call MessageBoxA
  20.  
  21. push 0
  22. call ExitProcess
  23. ends
  24. end Start
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: attempt to define a local label before any non-local labels
prog.asm:2: error: attempt to define a local label before any non-local labels
prog.asm:2: error: parser: instruction expected
prog.asm:3: error: parser: instruction expected
prog.asm:5: error: parser: instruction expected
prog.asm:6: error: symbol `extrn' redefined
prog.asm:6: error: parser: instruction expected
prog.asm:16: error: comma, colon or end of line expected
prog.asm:17: error: comma, colon or end of line expected
prog.asm:24: error: parser: instruction expected
stdout
Standard output is empty