aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/h8300/symaddgen.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/h8300/symaddgen.s b/gas/testsuite/gas/h8300/symaddgen.s
new file mode 100644
index 0000000..7aef522
--- /dev/null
+++ b/gas/testsuite/gas/h8300/symaddgen.s
@@ -0,0 +1,13 @@
+ .h8300hn
+ .text
+foo:
+ mov.l er6,@-er7
+ mov.w r7,r6
+ mov.w #2000,r2
+ mov.w r2,@-4064:16
+ mov.w #10000,r2
+ mov.w r2,@_var2
+ mov.l @er7+,er6
+ rts
+ .comm _var2,2,2
+ .end