In contrast to general-purpose computers, microcontrollers used in embedded systems often seek to minimize interrupt latency over instruction throughput.
When an electronic device causes an interrupt, the intermediate results, the registers, have to be saved before the software responsible for handling the interrupt can run, and then must be put back after it is finished. If there are more registers, this saving and restoring process takes more time, increasing the latency.
Low-latency MCUs generally have relatively few registers in their central processing units, or they have “shadow registers”, a duplicate register set that is only used by the interrupt software.
Thanks for the article related to embedded system. Its quiet interesting to me! Never knew such as embedded system course existed anywhere!
what goes up, has to come down?