Commit | Line | Data |
---|---|---|
0d2bcfaf NC |
1 | # asr test |
2 | ||
3 | asr r0,r1 | |
4 | asr fp,sp | |
5 | ||
6 | asr r0,0 | |
7 | asr r1,-1 | |
8 | asr 0,r2 | |
9 | asr -1,r3 | |
10 | asr r4,255 | |
11 | asr 255,r5 | |
12 | asr r6,-256 | |
13 | asr -256,r7 | |
14 | ||
15 | asr r8,256 | |
16 | asr r9,-257 | |
17 | asr r11,0x42424242 | |
18 | ||
19 | asr 255,256 | |
20 | ||
21 | asr r0,foo | |
22 | ||
23 | asr.eq r10,r11 | |
24 | asr.ne r12,r13 | |
25 | asr.lt r14,0 | |
26 | asr.gt r15,512 | |
27 | ||
28 | asr.f r0,r1 | |
29 | asr.f r2,1 | |
30 | asr.f 0,r4 | |
31 | asr.f r5,512 | |
32 | asr.f 512,512 | |
33 | ||
34 | asr.eq.f r0,r1 | |
35 | asr.ne.f r1,0 | |
36 | asr.lt.f 0,r2 | |
37 | asr.le.f r0,512 | |
38 | asr.n.f 512,512 |