ucos-ii中的OS_CPU_A.s中的 incl OSRunning语句是什么意思,mov OSTCBHighRdy,%eax //Point to TCB of highest priority task ready to runmov (%eax),%esp //ESP = OSTCBHighRdy->OSTCBStkPtr还有下面这些,//Pop all the processor registers from the
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 07:41:22
ucos-ii中的OS_CPU_A.s中的 incl OSRunning语句是什么意思,mov OSTCBHighRdy,%eax //Point to TCB of highest priority task ready to runmov (%eax),%esp //ESP = OSTCBHighRdy->OSTCBStkPtr还有下面这些,//Pop all the processor registers from the
ucos-ii中的OS_CPU_A.s中的 incl OSRunning语句是什么意思,
mov OSTCBHighRdy,%eax //Point to TCB of highest priority task ready to run
mov (%eax),%esp //ESP = OSTCBHighRdy->OSTCBStkPtr
还有下面这些,
//Pop all the processor registers from the stack
popa
//Execute a Return from interrupt intruction;
iret
ucos-ii中的OS_CPU_A.s中的 incl OSRunning语句是什么意思,mov OSTCBHighRdy,%eax //Point to TCB of highest priority task ready to runmov (%eax),%esp //ESP = OSTCBHighRdy->OSTCBStkPtr还有下面这些,//Pop all the processor registers from the
OSRunning是UCOS系统己经启动的一个标识,它在调用UCOS中的OSStart时被置为TRUE,你可以好好分析一下UCOS的源码,代码不多,很容易分析.