fork download
  1. .386
  2. .model flat, stdcall
  3. includelib \masm32\lib\kernel32.lib
  4. ExitProcess proto: DWORD
  5. .code
  6. CSEG segment
  7. org 100h
  8. start:
  9. mov ah, 9
  10. mov dx, offset message
  11. int 21h
  12. int 20h
  13.  
  14. message db 'hello, world!$'
  15. CSEG end
  16. end start
  17.  
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:4: error: parser: instruction expected
prog.asm:6: error: parser: instruction expected
prog.asm:7: error: parser: instruction expected
prog.asm:10: error: comma, colon, decorator or end of line expected after operand
prog.asm:15: error: symbol `CSEG' redefined
prog.asm:15: error: parser: instruction expected
prog.asm:16: error: parser: instruction expected
ld: cannot find prog.o: No such file or directory
stdout
Standard output is empty