Question: 1. 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
1. 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.
2. 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.
Please type code for both 1 and 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
