Advertisement
Guest User

Untitled

a guest
Jun 29th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. 0x0000000080000000 <+0>: auipc t0,0x0
  2. 0x0000000080000004 <+4>: addi t0,t0,84 # 0x80000054 <supervisor>
  3. 0x0000000080000008 <+8>: csrw mepc,t0
  4. 0x000000008000000c <+12>: auipc t1,0x0
  5. 0x0000000080000010 <+16>: addi t1,t1,48 # 0x8000003c <m_trap>
  6. 0x0000000080000014 <+20>: csrw mtvec,t1
  7. 0x0000000080000018 <+24>: lui t2,0x2
  8. 0x000000008000001c <+28>: addiw t2,t2,-2048
  9. 0x0000000080000020 <+32>: csrc mstatus,t2
  10. 0x0000000080000024 <+36>: lui t3,0x1
  11. 0x0000000080000028 <+40>: addiw t3,t3,-2048
  12. 0x000000008000002c <+44>: csrs mstatus,t3
  13. 0x0000000080000030 <+48>: li t4,256
  14. 0x0000000080000034 <+52>: csrs medeleg,t4
  15. 0x0000000080000038 <+56>: mret
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement