fork download
  1. TITLE MASM Template (main.asm)
  2.  
  3. ; Description:
  4. ;
  5. ; Revision date:
  6.  
  7. INCLUDE Irvine32.inc
  8. .data
  9. myMessage BYTE "MASM program example",0dh,0ah,0
  10.  
  11.  
  12. .code
  13. main PROC
  14. call Clrscr
  15.  
  16. mov edx,offset myMessage
  17. call WriteString
  18.  
  19. exit
  20. main ENDP
  21.  
  22. END main
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: parser: instruction expected
prog.asm:7: error: parser: instruction expected
prog.asm:9: error: parser: instruction expected
prog.asm:13: error: parser: instruction expected
prog.asm:16: error: comma, colon or end of line expected
prog.asm:20: error: symbol `main' redefined
prog.asm:20: error: parser: instruction expected
prog.asm:22: error: parser: instruction expected
stdout
Standard output is empty