summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mri/repeat.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mri/repeat.s')
-rw-r--r--gas/testsuite/gas/mri/repeat.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mri/repeat.s b/gas/testsuite/gas/mri/repeat.s
new file mode 100644
index 00000000000..0e4ea2b6527
--- /dev/null
+++ b/gas/testsuite/gas/mri/repeat.s
@@ -0,0 +1,14 @@
+; Test MRI structured repeat pseudo-op.
+
+ xdef foo
+foo
+ repeat
+ until <cs>
+
+ clr d1
+ repeat
+ add #1,d1
+ until d1 <ge> #10
+
+ nop
+ nop