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.
呃,不一样的IER有专门的指令:MOV loc16,IER;ST1没有。
有个比较笨的办法。我抛砖引玉一下。
比如:
asm(" PUSH AR1:AR0 ");
asm(" PUSH DP:ST1");
asm(" POP AR1:AR0 ");
asm(" MOVW DP,#0x10 ");
asm(" MOVW @0X5,AR0 ");
asm(" POP AR1:AR0 ");
ST1就在0x405的字段中。