- Write a subroutine for the following program:
- Calculate the number of instruction cycles for executing the above program.
- How long it takes for the complete execution of the above program for a 20 MHZ PIC Microcontroller?
- Modify the above program for developing a subroutine to cause 1 second delay.