summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/h8300/divmuls.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/h8300/divmuls.s')
-rw-r--r--gas/testsuite/gas/h8300/divmuls.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/testsuite/gas/h8300/divmuls.s b/gas/testsuite/gas/h8300/divmuls.s
new file mode 100644
index 00000000000..db60f8f49aa
--- /dev/null
+++ b/gas/testsuite/gas/h8300/divmuls.s
@@ -0,0 +1,12 @@
+ .h8300h
+ .text
+h8300h_div_mul:
+ divxu.b r0l,r1
+ divxu.w r0,er1
+ divxs.b r0l,r1
+ divxs.w r0,er1
+ mulxu.b r0l,r1
+ mulxu.w r0,er1
+ mulxs.b r0l,r1
+ mulxs.w r0,er1
+