从网上下载了UCOS的移值代码,PUSH ALL的时候都只保存4,5个寄存器,比如R12,R13,R4,如果任务切换的时候还用到了R10,R11,那么切换回来的时候如果其值改变了,那怎么样办? |
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.
从网上下载了UCOS的移值代码,PUSH ALL的时候都只保存4,5个寄存器,比如R12,R13,R4,如果任务切换的时候还用到了R10,R11,那么切换回来的时候如果其值改变了,那怎么样办? |