M register not restored on SX28 interrupt
Sometimes, after an interrupt, the M register does not change back to the value it had before the interrupt. I've attached a really simple program that demonstrates this.
Can anyone explain what might be causing this?
Thanks!
Can anyone explain what might be causing this?
Thanks!
Comments
In an SX 18/20/28 the M register is NOT saved/restored.
In an SX48/52 it IS saved/restored.
Cheers,
Peter (pjv)