.include "xc.inc"

.global _read_AD_ASM

 .section .text
 
 
_read_AD_ASM:
    MOV	W0,W2
    MOV	#PORTB,W1
   
    
    REPEAT  #5120
    mov.B [W1],[W2++] ;asi dva cykli ověřit 
    ;mov PORTB,[W2++]
    return    
.end

/* End of File  */