help me with the sample calculation and sample code in assembly to understand
1) timer0 ,1,2 operation .
2) PWM module
3) ADC conversion
4) UART module
hello... each topic that you mentioned requires a lot of time for a beginner to understand. Lot of time means normally not more than 3 hours for each. I suggest you to refer its data sheet available athttps://ww1.microchip.com/downloads/en/devicedoc/39582b.pdf
As far as sample code is concerned, I can help you with codes in C language as i normally do not use assembly lang.
Timer 0 and 1 in this PIC can be used in timer/counter mode and timer2 can be used for PWM. similarly, PWM can easily be used by writing to period to register PR2 and duty cycle to CCPR1L. For ADC, you have to control the bits of ADCON0 and ADCON1 as per your requirement. Please be specific at what topic you really need to go. If you need all the topics to understand, dont just lump them down here.... go one by one! It helps us to answer you more correctly and clearly.
REGARDS.