diff options
Diffstat (limited to 'gas/testsuite/gas/xc16x/sub.s')
-rw-r--r-- | gas/testsuite/gas/xc16x/sub.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gas/testsuite/gas/xc16x/sub.s b/gas/testsuite/gas/xc16x/sub.s new file mode 100644 index 0000000000..5baad828e0 --- /dev/null +++ b/gas/testsuite/gas/xc16x/sub.s @@ -0,0 +1,19 @@ + .section .text + .global _fun +xc16x_sub: + + sub r0,r1 + sub r0,[r1] + sub r0,[r1+] + sub r0,#0x1 + sub r0,#0x7643 + sub r0,0x7643 + sub 0x7643,r0 + + + + + + + +
\ No newline at end of file |