Why are interrupt masks provided in any processor?
Interrupt mask enable the higher priority devices comes first and there for lower priority devices comes last. The interrupt enable bits as a bit vector is known as interrupt mask. Which enables / disables the devices according to the correct configuration of the mask?