uC/OSII移植步驟 作者: 時(shí)間:2016-10-08 來源:網(wǎng)絡(luò) 加入技術(shù)交流群 掃碼加入和技術(shù)大咖面對面交流海量資料庫查詢 收藏 SP, SP,#12; Adjust IRQ stack pointerSUBR2, LR,#4; Adjust PC for return address to taskMRSR3, SPSR; Copy SPSR (i.e. interrupted task's CPSR) to R3MSRCPSR_c, #(NO_INT | SVC32_MODE) ; Change to SVC mode; SAVE TASK'S CONTEXT ONTO TASK'S STACKSTMFDSP!, {R2}; Push task's Return PCSTMFDSP!, {LR}; Push task's LRSTMFDSP!, {R4-R12}; Push task's R12-R4LDMFDR1!, {R4-R6} 上一頁 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 下一頁
評論