SHARE
TWEET

Untitled

a guest Jun 19th, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PRGSEG SEGMENT CODE
  2.    
  3. PUBLIC POTENCJOMETR
  4.    
  5. RSEG PRGSEG
  6.    
  7. POTENCJOMETR:
  8.     MOV A,#0        
  9.     MOV DPTR,#8006H  
  10.     MOVX @DPTR,A      
  11.    
  12. WAIT_DATA:
  13.     MOV DPTR,#-120  
  14.    
  15.     WAIT:  
  16.     INC DPTR   
  17.     MOV A,DPH      
  18.     ORL A,DPL        
  19.    
  20.     JNZ WAIT          
  21.    
  22.     MOV DPTR,#8000H
  23.     MOVX A,@DPTR    
  24.     MOV R7,Ab  
  25.     RET              
  26.    
  27.     END
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top