Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # st/sr test |
2 | ||
3 | st r0,[r1] | |
4 | st r5,[r6,1] | |
5 | st r7,[r8,-1] | |
6 | st r9,[r10,255] | |
7 | st r11,[r12,-256] | |
8 | st r19,[foo] | |
9 | st r20,[foo+4] | |
10 | ||
11 | stb r0,[0] | |
12 | stw r0,[0] | |
13 | st.a r0,[0] | |
14 | st.di r0,[0] | |
15 | stb.a.di r0,[r0] | |
16 | ||
17 | sr r0,[r1] | |
18 | sr r2,[status] | |
19 | sr r3,[0x12345678] |