Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. load_store_test.s:
  2. .align 4
  3. .section .text
  4. .globl _start
  5.  
  6. _start:
  7. lw x1, bit_16
  8. la x2, result
  9. sb x1, 2(x2)
  10.  
  11. lw x12,(x2)
  12. lw x5, result_half
  13.  
  14. halt:
  15. beq x0, x0, halt
  16.  
  17.  
  18. .section .rodata
  19.  
  20. bit_16: .word 0x12345678
  21. result: .word 0x00000000
  22. result_half: .word 0x00001000
  23. byte1: .byte 0x08
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement