Question: Write an Assembly program using MPLAB IDE that will create a 100KHz square wave clock. Assume the Oscillator used on the 16F84A is 20 MHzmaking

Write an Assembly program using MPLAB IDE that will create a 100KHz square wave clock. Assume the Oscillator used on the 16F84A is 20 MHzmaking the instruction cycle 5 MHz. Output this clock fromyour GPR to two PORTB outputs, PB0 & PB1. Make PB0 the true clock and make PB1 the inverted clock; that is, when PB0 is a logic 1, PB1 is a logic0 and vice-versa. Save the program anddo a build to obtain a .HEX object.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!