Advertisement
NB52053

Ass.Lab_Mouse_INT33

Sep 8th, 2018
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. org 100h
  2. .stack 100h
  3. .data
  4. .code
  5.  
  6.  
  7. proc main
  8.     mov dx, @data
  9.     mov ds, dx
  10.    
  11.    
  12.    
  13.     mov ax, 0
  14.     int 33h
  15.    
  16.     cmp ax, 0
  17.     je notfound
  18.    
  19.    
  20.    
  21.    
  22.    
  23.    
  24.     L1:
  25.    
  26.     mov AX, 3
  27.     int 33h
  28.    
  29.    
  30.     jmp L1
  31.    
  32.     mov ah, 4ch
  33.     int 21h
  34. endp main
  35.  
  36.  
  37.  
  38. end main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement