Lines Matching refs:t0
25 li t0, MSTATUS_MPP
26 csrc mstatus, t0
30 and t2, t2, t0
37 la t0, mtvec_handler + 1
38 csrrw s0, mtvec, t0
39 csrr t0, mtvec
40 andi t0, t0, 1
41 beqz t0, msip
51 la t0, 1f
52 csrw mepc, t0
53 li t0, MSTATUS_MPP
54 csrc mstatus, t0
73 csrr t0, sptbr
83 csrr t0, sptbr
87 la t0, bad8
88 csrw sepc, t0
89 li t0, SSTATUS_SPP
90 csrs sstatus, t0
91 li t0, SSTATUS_SPIE
92 csrc sstatus, t0
99 la t0, 1f
100 csrw sepc, t0
130 csrr t0, mcause
131 bne t0, t1, fail
132 csrr t0, mepc
137 lhu t3, 0(t0)
138 lhu t4, 2(t0)
145 beq t0, t1, 2f
147 beq t0, t1, 3f
149 beq t0, t1, 4f
151 beq t0, t1, 5f
153 beq t0, t1, 6f
155 beq t0, t1, 7f
157 beq t0, t1, 8f
159 beq t0, t1, 9f
165 addi t0, t0, 8
166 csrw mepc, t0