Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- load_store_test.s:
- .align 4
- .section .text
- .globl _start
- _start:
- lw x1, bit_16
- la x2, result
- sb x1, 2(x2)
- lw x12,(x2)
- lw x5, result_half
- halt:
- beq x0, x0, halt
- .section .rodata
- bit_16: .word 0x12345678
- result: .word 0x00000000
- result_half: .word 0x00001000
- byte1: .byte 0x08
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement