Question: Write an ISR for INT2 from Question 2 to count in BCD from 60 to 0, and when the counter reaches zero, reset the counter

Write an ISR for INT2 from Question 2 to count in BCD from 60 to 0, and when the counter reaches zero, reset the counter to 60. Assume all registers are in the Access bank. (Question 2 was: Write instructions to set up INT1 with high priority and INT2 with low priority, clear REG1 to set up as an up-counter, and load REG2 with 60H.)

This is for a PIC18F452.

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 Accounting Questions!