Thanks, I did intend to clear the ISR, but somehow mixed it up with the scratch register.On the other hand, you are never clearing ISR, so it will gradually accumulate bits. Did you mean mov ISR,null where you have written set X,0 ?
Changing the line to "mov ISR, NULL" doesn't fix my problem completely. The LSB of the ISR seems to always be zero.
Statistics: Posted by brwayne — Tue Aug 27, 2024 5:05 pm