I would like to change the order that some of the registers are stored on the stack when an interrupt occurs. Ideally I would like to store the IE register first. Does anyone know if it is possible to stop the C51 compiler from pushing and poping registers from the stack automatically in an interrupt routine, so that I can do this manually, in the order I would like?
After looking a bit more on the forum I found an equivilent command for the C166 compiler that would do exactly what I want. Is this command or something similar available for the C51 compiler?
Opps forgot the directive for the C166 compiler it was NOFRAME