summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/xc16x/subc.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/xc16x/subc.s')
-rw-r--r--gas/testsuite/gas/xc16x/subc.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/gas/testsuite/gas/xc16x/subc.s b/gas/testsuite/gas/xc16x/subc.s
new file mode 100644
index 0000000000..a8af7d033b
--- /dev/null
+++ b/gas/testsuite/gas/xc16x/subc.s
@@ -0,0 +1,19 @@
+ .section .text
+ .global _fun
+xc16x_subc:
+
+ subc r0,r1
+ subc r0,[r1]
+ subc r0,[r1+]
+ subc r0,#0x2
+ subc r0,#0x43
+ subc r0,0x7643
+ subc 0x7643,r0
+
+
+
+
+
+
+
+ \ No newline at end of file