summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/h8300/compares.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/h8300/compares.s')
-rw-r--r--gas/testsuite/gas/h8300/compares.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/gas/h8300/compares.s b/gas/testsuite/gas/h8300/compares.s
new file mode 100644
index 0000000000..e23f3fe8e9
--- /dev/null
+++ b/gas/testsuite/gas/h8300/compares.s
@@ -0,0 +1,10 @@
+ .h8300s
+ .text
+h8300s_cmp:
+ cmp.b #0,r0l
+ cmp.b r0h,r0l
+ cmp.w #32,r0
+ cmp.w r0,r1
+ cmp.l #64,er0
+ cmp.l er0,er1
+