rangerskm
Full Member level 4
Code:
#include"p16f73.inc"
org 0x00
bsf status,rp0
movlw 0xff
movwf trisa
clrf trisb
l1: Bcf status,rp0
movlw 0x05
movwf adcon0
btfsc adcon0,2
goto $-1
movf adres,0
movwf portb
goto l1
end
this may be an adc program explain the program with the help of the adc sfrs