Using compiler option, is it possible to restrict a routine from using certain set of registers?
For example: Restrict a routine to use only R0-R8;
Purpose: If some compiler option available, then I could ensure certain routines (like Interrupt Service Routines) to use only limited register set, and thus do limited Context Save & Restore.