Question: As a designer, you are using a PIC16F84A microcontroller for a project and you are required to implement a subroutine to delay 50 microseconds.

As a designer, you are using a PIC16F84A microcontroller for a project and you are required to implement a 

As a designer, you are using a PIC16F84A microcontroller for a project and you are required to implement a subroutine to delay 50 microseconds. Create an assembly language subroutine to implement this requirement. The routine must use a loop (in a meaningful way) to create the delay. Show by calculation that your subroutine gives an exact delay of 50 microseconds.

Step by Step Solution

3.33 Rating (141 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Assembly Language Subroutine for 50 microsecond Delay on PIC16F84A The following subroutine uses a loop and the instruction cycle time to achieve a de... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!