1.include "macros.inc" 2 3start 4 5test_name SB_1 6load r1 data 7load r2 0xf0f1f2aa 8sb (r1+0), r2 9check_mem data 0xaa000000 10 11test_name SB_2 12load r1 data 13load r2 0xf0f1f2bb 14sb (r1+1), r2 15check_mem data 0xaabb0000 16 17test_name SB_3 18load r1 data 19load r2 0xf0f1f2cc 20sb (r1+-1), r2 21check_mem data0 0x000000cc 22 23end 24 25.data 26 .align 4 27data0: 28 .byte 0, 0, 0, 0 29data: 30 .byte 0, 0, 0, 0 31data1: 32 .byte 0, 0, 0, 0 33