summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mmix/set.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mmix/set.s')
-rw-r--r--gas/testsuite/gas/mmix/set.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mmix/set.s b/gas/testsuite/gas/mmix/set.s
new file mode 100644
index 0000000000..7af06daeb5
--- /dev/null
+++ b/gas/testsuite/gas/mmix/set.s
@@ -0,0 +1,9 @@
+# Test the 'r'-type operand and the mapping of SET to OR(I) and SETL.
+Main SET $45,1123
+ SET $57,$67
+ SET $78,X
+ SET Y,1123
+ SET Y,$67
+ SET Y,X
+X IS $31
+Y IS $117