fork download
  1. CSEG segment
  2. org 100h
  3. start:
  4. mov cx, 3
  5. begin:
  6. mov dx, offset string
  7. mov ah, 9
  8. int 21h
  9. end begin
  10.  
  11. string db 'Hello!$'
  12. CSEG ends
  13. end start
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.s: Assembler messages:
prog.s: Warning: end of file not at end of a line; newline inserted
prog.s:1: Error: no such instruction: `cseg segment'
prog.s:2: Error: no such instruction: `org 100h'
prog.s:4: Error: too many memory references for `mov'
prog.s:6: Error: too many memory references for `mov'
prog.s:7: Error: too many memory references for `mov'
prog.s:8: Error: junk `h' after expression
prog.s:8: Error: operand size mismatch for `int'
prog.s:9: Error: no such instruction: `end begin'
prog.s:11: Error: no such instruction: `string db 72ello!$10CSEG ends'
prog.s:12: Error: no such instruction: `end start'
stdout
Standard output is empty