target/arm: Update CNTP for PREDDESC
[qemu/ar7.git] / tests / tcg / lm32 / test_sb.S
blobb15a89d342a32bbde44b76f4dccf910c33030325
1 .include "macros.inc"
3 start
5 test_name SB_1
6 load r1 data
7 load r2 0xf0f1f2aa
8 sb (r1+0), r2
9 check_mem data 0xaa000000
11 test_name SB_2
12 load r1 data
13 load r2 0xf0f1f2bb
14 sb (r1+1), r2
15 check_mem data 0xaabb0000
17 test_name SB_3
18 load r1 data
19 load r2 0xf0f1f2cc
20 sb (r1+-1), r2
21 check_mem data0 0x000000cc
23 end
25 .data
26         .align 4
27 data0:
28         .byte 0, 0, 0, 0
29 data:
30         .byte 0, 0, 0, 0
31 data1:
32         .byte 0, 0, 0, 0