summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/xc16x/or.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/xc16x/or.s')
-rw-r--r--gas/testsuite/gas/xc16x/or.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/testsuite/gas/xc16x/or.s b/gas/testsuite/gas/xc16x/or.s
new file mode 100644
index 0000000000..46deeccd7d
--- /dev/null
+++ b/gas/testsuite/gas/xc16x/or.s
@@ -0,0 +1,11 @@
+ .section .text
+ .global _fun
+xc16x_or:
+
+ or r0,r1
+ or r0,[r1]
+ or r0,[r1+]
+ or r0,#3
+ or r0,#0x0234
+ or r0,0x4536
+ or 0x4536,r0