daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Feb 16th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top