a guest Sep 6th, 2019 149 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use16 ;Генерировать 16-битный код
  2. org 100h ;Программа начинается с адреса 100h  
  3. mov dx,hello ;В DX адрес строки.
  4. mov ah,9 ;Номер функции DOS.
  5. int 21h ;Обращение к функции DOS.  
  6. mov ax,4C00h ;
  7. int 21h ;/ Завершение программы ;----------------------
  8. hello db 'Hello, world!$'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand