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.

C6678汇编的若干问题



1、C6678在实现中断的时候,哪些寄存器需要入栈保护(A0-A15,B0-B15,CSR等等?)因为我在移植ucos,所以必须要自己写寄存器入栈保护的操作,在之前的帖子也提过这个问题http://www.deyisupport.com/question_answer/f/53/t/6767.aspx

2、C6678应该没有软中断机制吧?有没有中断返回指令、批量压栈指令以解决1的问题

3、C6711堆栈的指针是以8字节改变的,而C6678堆栈的指针是以16字节改变的,请问这对入栈出栈有什么影响?

谢谢~

  • 2、C6678应该没有软中断机制吧?有没有中断返回指令、批量压栈指令以解决1的问题

    ----- 没有批量压栈指令。中断返回指令是B IRP或B NRP

    3、C6711堆栈的指针是以8字节改变的,而C6678堆栈的指针是以16字节改变的,请问这对入栈出栈有什么影响?

    ---- 堆栈指针必须16字节对齐