diff options
author | Nick Clifton <nickc@redhat.com> | 2001-01-11 21:20:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-01-11 21:20:20 +0000 |
commit | 72655b4aff2e6334921308ea6d51f2a9e1777f8b (patch) | |
tree | c4d37fe1934d2251cd4c369f7b4cd8fcc915ca9a /gas/testsuite/gas/arc/asr.s | |
parent | e0ef1bb59eace00cd07e4d4ad44d2ac9e8f25f3d (diff) | |
download | binutils-redhat-72655b4aff2e6334921308ea6d51f2a9e1777f8b.tar.gz |
Updated ARC assembler from arccores.com
Diffstat (limited to 'gas/testsuite/gas/arc/asr.s')
-rw-r--r-- | gas/testsuite/gas/arc/asr.s | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arc/asr.s b/gas/testsuite/gas/arc/asr.s new file mode 100644 index 0000000000..9998b3498c --- /dev/null +++ b/gas/testsuite/gas/arc/asr.s @@ -0,0 +1,38 @@ +# asr test + + asr r0,r1 + asr fp,sp + + asr r0,0 + asr r1,-1 + asr 0,r2 + asr -1,r3 + asr r4,255 + asr 255,r5 + asr r6,-256 + asr -256,r7 + + asr r8,256 + asr r9,-257 + asr r11,0x42424242 + + asr 255,256 + + asr r0,foo + + asr.eq r10,r11 + asr.ne r12,r13 + asr.lt r14,0 + asr.gt r15,512 + + asr.f r0,r1 + asr.f r2,1 + asr.f 0,r4 + asr.f r5,512 + asr.f 512,512 + + asr.eq.f r0,r1 + asr.ne.f r1,0 + asr.lt.f 0,r2 + asr.le.f r0,512 + asr.n.f 512,512 |