aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/m68k/mri_moveml.d24
-rw-r--r--gas/testsuite/gas/m68k/mri_moveml.s17
3 files changed, 45 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 550f21c..240aeb5 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 27 05:35:02 1998 Richard Henderson <rth@cygnus.com>
+
+ * gas/m68k/mri_moveml.[sd]: New testcase.
+
start-sanitize-sky
Fri Jan 23 18:39:30 1998 Doug Evans <devans@canuck.cygnus.com>
diff --git a/gas/testsuite/gas/m68k/mri_moveml.d b/gas/testsuite/gas/m68k/mri_moveml.d
new file mode 100644
index 0000000..2427079
--- /dev/null
+++ b/gas/testsuite/gas/m68k/mri_moveml.d
@@ -0,0 +1,24 @@
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0000000000000000 <.text>:
+ 0: 4cdf 07fc moveml %sp@+,%d2-%a2
+ 4: 4cdf 07fc moveml %sp@+,%d2-%a2
+ 8: 48f9 07fc 0000 moveml %d2-%a2,0 <.text>
+ e: 0000
+ 10: 48f9 07fc 0000 moveml %d2-%a2,0 <.text>
+ 16: 0000
+ 18: 4cf9 07fc 0000 moveml 0 <.text>,%d2-%a2
+ 1e: 0000
+ 20: 4cf9 07fc 0000 moveml 0 <.text>,%d2-%a2
+ 26: 0000
+ 28: 4cf9 07fc 0001 moveml 16000 <fdsa>,%d2-%a2
+ 2e: 6000
+ 30: 4cf9 07fc 0001 moveml 16000 <fdsa>,%d2-%a2
+ 36: 6000
+ 38: 48f9 07fc 0001 moveml %d2-%a2,16000 <fdsa>
+ 3e: 6000
+ 40: 48f9 07fc 0001 moveml %d2-%a2,16000 <fdsa>
+ 46: 6000
diff --git a/gas/testsuite/gas/m68k/mri_moveml.s b/gas/testsuite/gas/m68k/mri_moveml.s
new file mode 100644
index 0000000..b8fc728
--- /dev/null
+++ b/gas/testsuite/gas/m68k/mri_moveml.s
@@ -0,0 +1,17 @@
+asdf reg a0-a2/d2-d7
+fdsa equ $16000
+
+ movem.l (sp)+,a0-a2/d2-d7
+ movem.l (sp)+,asdf
+
+ movem.l a0-a2/d2-d7,symbol
+ movem.l asdf,symbol
+
+ movem.l symbol,a0-a2/d2-d7
+ movem.l symbol,asdf
+
+ movem.l fdsa,a0-a2/d2-d7
+ movem.l fdsa,asdf
+
+ movem.l a0-a2/d2-d7,fdsa
+ movem.l asdf,fdsa