Lines Matching refs:sp
41 addi sp, sp, -116 # Create space on the stack.
42 stw ra, 0(sp)
44 stw at, 8(sp)
45 stw r2, 12(sp)
46 stw r3, 16(sp)
47 stw r4, 20(sp)
48 stw r5, 24(sp)
49 stw r6, 28(sp)
50 stw r7, 32(sp)
51 stw r8, 36(sp)
52 stw r9, 40(sp)
53 stw r10, 44(sp)
54 stw r11, 48(sp)
55 stw r12, 52(sp)
56 stw r13, 56(sp)
57 stw r14, 60(sp)
58 stw r15, 64(sp)
60 stw r5, 68(sp)
62 stw r15, 72(sp) # Save as EA
63 stw r16, 76(sp) # Save the remaining registers
64 stw r17, 80(sp)
65 stw r18, 84(sp)
66 stw r19, 88(sp)
67 stw r20, 92(sp)
68 stw r21, 96(sp)
69 stw r22, 100(sp)
70 stw r23, 104(sp)
71 stw gp, 108(sp)
72 stw fp, 112(sp)
77 stw sp, (et) # Store the stack pointer into the top of the TCB
88 ldw sp, (et) # Load the stack pointer with the top value of the TCB
91 ldw ra, 0(sp) # Restore the registers.
93 ldw at, 8(sp)
94 ldw r2, 12(sp)
95 ldw r3, 16(sp)
96 ldw r4, 20(sp)
97 ldw r5, 24(sp)
98 ldw r6, 28(sp)
99 ldw r7, 32(sp)
100 ldw r8, 36(sp)
101 ldw r9, 40(sp)
102 ldw r10, 44(sp)
103 ldw r11, 48(sp)
104 ldw r12, 52(sp)
105 ldw r13, 56(sp)
106 ldw r14, 60(sp)
107 ldw r15, 64(sp)
108 ldw et, 68(sp) # Load the eStatus
110 ldw ea, 72(sp) # Load the Program Counter
111 ldw r16, 76(sp)
112 ldw r17, 80(sp)
113 ldw r18, 84(sp)
114 ldw r19, 88(sp)
115 ldw r20, 92(sp)
116 ldw r21, 96(sp)
117 ldw r22, 100(sp)
118 ldw r23, 104(sp)
119 ldw gp, 108(sp)
120 ldw fp, 112(sp)
121 addi sp, sp, 116 # Release stack space
133 …stw ea, 72(sp) # EA is PC+4 so will skip over instruction causing excepti…