Question: Consider a processor with 4 interrupts. The enable, priority, and pending bits are represented as a series of bits with bit 0 corresponding to interrupt

Consider a processor with 4 interrupts. The enable, priority, and pending bits are represented as a series of bits with bit 0 corresponding to interrupt 0, bit 1 to interrupt 1, etc. The vector table contains the ISR addresses for each numbered interrupt. The priority system is binary (0 being the higher priority, 1 being lower). Ties are broken by interrupt number (i.e. interrupt 0 is more important than 1, etc.). Note the 4-bit pattern that represents the EN,PEND, and PRI field arranged with the lowest bit on right i.e.: [3rd,2nd,1st,0th].
hw25.jpg
If the program is currently in the main thread (priority 100), what should the program counter be on the next cycle? (in Hex, enter answer in 0x... format).

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!