Hello,
I'm trying to solve a problem. I'm using LPC2478
I have the register FIO0MASK that is used in normal routines and interrupt routines. If a interrupt that changes FIO0MASK value is executed after FIO0MASK set when the interrupt returns the FIO0MASK is not with the correct value.
I'm trying to PUSH FIO0MASK onto stack and after POP FIO0MASK from stack but I don't know how to do this.
How can I push onto stack and pop from stack in inline assembly?
Tnanks