Lines Matching refs:stack
71 ; and the usCriticalNesting Value of the active Task onto the task stack
72 ; saves stack pointer to the TCB
113 …MOVHI hi1(usCriticalNesting),r0,r1 ; save usCriticalNesting value to stack
124 ; Gets stack pointer from the current TCB
126 ; registers of the selected task from the task stack
133 MOV sp,ep ; set stack pointer to element pointer
134 sld.w 0[ep],r1 ; load usCriticalNesting value from stack
214 add -0x0C,sp ; prepare stack to save necessary values
215 st.w lp,8[sp] ; store LP to stack
217 st.w lp,4[sp] ; store EIPC to stack
219 st.w lp,0[sp] ; store EIPSW to stack
224 ld.w 0[sp],lp ; restore EIPSW from stack
226 ld.w 4[sp],lp ; restore EIPC from stack
228 ld.w 8[sp],lp ; restore LP from stack
249 add -0x0C,sp ; prepare stack to save necessary values
250 st.w lp,8[sp] ; store LP to stack
252 st.w lp,4[sp] ; store EIPC to stack
254 st.w lp,0[sp] ; store EIPSW to stack
260 ld.w 0[sp],lp ; restore EIPSW from stack
262 ld.w 4[sp],lp ; restore EIPC from stack
264 ld.w 8[sp],lp ; restore LP from stack