summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/xc16x/andb.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/xc16x/andb.s')
-rw-r--r--gas/testsuite/gas/xc16x/andb.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/gas/xc16x/andb.s b/gas/testsuite/gas/xc16x/andb.s
new file mode 100644
index 00000000000..eee0ab82bf6
--- /dev/null
+++ b/gas/testsuite/gas/xc16x/andb.s
@@ -0,0 +1,10 @@
+ .section .text
+ .global _fun
+xc16x_andb:
+ andb rl0,rl1
+ andb rl0,[r1]
+ andb rl0,[r1+]
+ andb rl0,#3
+ andb rl0,#0xbe
+ andb rl0,0x0230
+ andb 0x320,rl0