fork download
  1. model SMALL
  2. stack 100h
  3. dataseg
  4. PRIVET db 0Dh,0Ah
  5. db "Privet!"
  6. db 0Dh,0Ah,"$"
  7.  
  8. codeseg
  9. startupcode
  10. lea DX,PRIVET ; Адрес строки – в DX
  11. mov AH,09h ; Номер функции – в AH
  12. int 21h ; Вызов функции
  13.  
  14. QUIT: exitcode 0
  15. end
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.s: Assembler messages:
prog.s:1: Error: no such instruction: `model SMALL'
prog.s:2: Error: no such instruction: `stack 100h'
prog.s:3: Error: no such instruction: `dataseg'
prog.s:4: Error: no such instruction: `privet db 0Dh,0Ah'
prog.s:5: Error: no such instruction: `db "Privet!"'
prog.s:6: Error: no such instruction: `db 0Dh,0Ah,"$"'
prog.s:8: Error: no such instruction: `codeseg'
prog.s:9: Error: no such instruction: `startupcode'
prog.s:10: Error: too many memory references for `lea'
prog.s:10: Error: invalid character (0xd0) in mnemonic
prog.s:11: Error: too many memory references for `mov'
prog.s:11: Error: invalid character (0xd0) in mnemonic
prog.s:12: Error: junk `h' after expression
prog.s:12: Error: operand size mismatch for `int'
prog.s:12: Error: invalid character (0xd0) in mnemonic
prog.s:14: Error: no such instruction: `exitcode 0'
prog.s:15: Error: no such instruction: `end'
stdout
Standard output is empty