First page Back Continue Last page Graphics
Contexts
Most microprocessors can only operate on data that is in registers (aside from MOVE)
Unreasonable to expect interrupt routines to avoid modifying registers
Save any and all registers that the interrupt subroutine uses. Restore them before returing
- Known as “Saving Context”
Use as few registers as possible.