Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model small
- .data
- stroka db 'Hello world',10,13,'$'
- .code
- start:
- ; mov ah,2h
- ; int 16h ;???????? ???? ???????
- ; test al,00000100B ;????????? ??? 3 - CTRL
- ; cmp al,2
- ; JZ start ;???? 0, ?? CTRL ????????
- mov ah,8h ; scan keypad
- int 21h
- cmp al, 20h ; probel check
- je next1
- jmp start
- next1:
- mov ah, 9h ; ????? ?????????
- mov bl, 0e9h ; ????? ????? ?? ????? ????
- mov cx, 20 ; ????????? ?????? 11 ????
- int 10h
- mov ah,9h
- lea dx, stroka
- int 21h
- ; mov dx, offset CTRL_probel
- ; int 21h
- ; jmp start
- ; ret
- mov ax, 4c00h
- int 21h
- end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement