Advertisement
deced

Untitled

Apr 13th, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. ESC_ equ 1Bh
  2. org 100h
  3. start:
  4. mov ah,08h
  5. int 21h
  6. cmp al,ESC_
  7. je exit
  8.  
  9. cmp al,'C'
  10. jb start
  11. cmp al,'R'
  12. ja start
  13.  
  14. mov ah,02h
  15. mov dl,al
  16. int 21h
  17.  
  18. jmp start
  19. exit:
  20. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement