Lines Matching refs:sp
53 mrs sp, spsr
54 tst sp, #0x20
61 mrs sp, spsr
62 tst sp, #0xf
67 LoadThreadRegister(sp)
68 ldr sp, [sp, TH_PCB_USS]
69 stmea sp, {r0-lr}^
71 str lr, [sp, #0x3C]
73 str r2, [sp, #0x40]
74 mov r0, sp
79 ldr sp, [r1, TH_PCB_ISS]
87 sub sp, sp, #0x50
88 stmea sp, {r0-r12}
90 str lr, [sp, #0x38]
91 mov r0, sp
102 add r3, sp, #0x50
120 LoadThreadRegister(sp)
121 ldr sp, [sp, TH_PCB_USS]
122 stmea sp, {r0-lr}^
124 str lr, [sp, #0x3C]
126 str r2, [sp, #0x40]
128 mov r8, sp
130 LoadThreadRegister(sp)
131 ldr sp, [sp, TH_PCB_ISS]
234 mrs sp, cpsr
235 bic sp, sp, #0x100
236 msr cpsr_c, sp
238 mrs sp, spsr
239 tst sp, #0xf
244 LoadThreadRegister(sp)
245 ldr sp, [sp, TH_PCB_USS]
246 stmea sp, {r0-lr}^
249 str lr, [sp, #0x3C]
253 str r0, [sp, #0x40]
257 str r0, [sp, #0x44]
261 str r0, [sp, #0x48]
266 mov r0, sp
269 ldr sp, [r1, TH_PCB_ISS]
280 sub sp, sp, #0x50
281 stmea sp, {r0-r12}
284 str lr, [sp, #0x38]
285 mov r12, sp
309 str r12, [sp, #0x34]
312 mov r0, sp
325 mrs sp, spsr
326 tst sp, #0xf
331 LoadThreadRegister(sp)
332 ldr sp, [sp, TH_PCB_USS]
333 stmea sp, {r0-lr}^
336 str lr, [sp, #0x3C]
340 str r0, [sp, #0x40]
344 str r0, [sp, #0x44]
348 str r0, [sp, #0x48]
350 mov r0, sp
356 ldr sp, [r1, TH_PCB_ISS]
367 sub sp, sp, #0x50
368 stmea sp, {r0-r12}
371 str lr, [sp, #0x38]
372 mov r12, sp
389 str r5, [sp, #0x44]
393 str r6, [sp, #0x48]
397 str r12, [sp, #0x34]
400 mov r0, sp
421 mrs sp, spsr
422 tst sp, #0xF
426 LoadThreadRegister(sp)
427 ldr sp, [sp, TH_PCB_USS]
428 stmea sp, {r0-lr}^
429 str lr, [sp, #0x3C]
431 str r0, [sp, #0x40]
432 mov r5, sp
433 LOAD_ADDR(sp, irqstack_top)
438 LOAD_ADDR(sp, irqstack_top)
441 sub sp, sp, #0x50
442 stmea sp, {r0-r12}
448 str lr, [sp, #0x3C]
452 str r4, [sp, #0x40]
455 mov r5, sp
460 /* Save sp */
461 str sp, [r5, #0x34]
476 ldr r4, [sp, #0x40]
490 ldmfd sp, {r0-r12}
499 sub sp, sp, #0x50
500 stmea sp, {r0-r12}
501 mov r5, sp
507 ldr r0, [sp, #0x34]
510 ldr r0, [sp, #0x38]
513 ldr r0, [sp, #0x3c]
516 ldr r0, [sp, #0x40]
519 mov sp, r5
525 LoadThreadRegister(sp)
526 ldr sp, [sp, TH_PCB_ISS]
530 mov r5, sp
536 ldr r4, [sp, #0x40]
559 ldr sp, [r5, #0x34]
561 mov sp, r5
565 ldmfd sp, {r0-r12}
566 add sp, sp, #0x3C
567 rfefd sp!
574 LOAD_ADDR(sp, irqstack_top)