1.set norelax 2_main: br start 3trap: 4 br abort 5.globl _main 6abort: movui r3, 0x0 7 movui r2, 0x1 8 9end: movui r3, 0x0 10 movui r2, 0x0 11 br exit 12 13start: 14 addi r2, r2, -4 # test for ve numbers 15 movui r11, 0x1 16 ori r5, r0, %lo(0x0) # r5 = 0x0 17 ori r6, r0, %lo(0x0) # r6 = 0x0 18 br ldst 19 20ldst: 21 movui r2, 0xF00C 22 movui r20, 0xFACE 23 stw r20,(r2) 24 ldw r21, (r2) 25 br end 26 27 28exit: br exit 29