summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/h8300/incdech.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/h8300/incdech.s')
-rw-r--r--gas/testsuite/gas/h8300/incdech.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/gas/h8300/incdech.s b/gas/testsuite/gas/h8300/incdech.s
new file mode 100644
index 00000000000..bb93fc54b36
--- /dev/null
+++ b/gas/testsuite/gas/h8300/incdech.s
@@ -0,0 +1,14 @@
+ .h8300h
+ .text
+h8300h_incdec:
+ dec.b r0l
+ dec.w #1,r0
+ dec.w #2,r0
+ dec.l #1,er0
+ dec.l #2,er0
+ inc.b r0l
+ inc.w #1,r0
+ inc.w #2,r0
+ inc.l #1,er0
+ inc.l #2,er0
+