This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我用汇编写的程序,有时用ACC存数据时,得不到我想要的数据,是我程序问题还是中断时应该人为的对这些寄存器保护一下,请教一下
一般中断程序开始时会执行以下代码:
PUSH AR1H:AR0H
PUSH XAR2
PUSH XAR3
PUSH XAR4
PUSH XAR5
PUSH XAR6
PUSH XAR7
PUSH XT