aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-xc16x/offset.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-xc16x/offset.s')
-rw-r--r--ld/testsuite/ld-xc16x/offset.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-xc16x/offset.s b/ld/testsuite/ld-xc16x/offset.s
new file mode 100644
index 0000000..b3aad19
--- /dev/null
+++ b/ld/testsuite/ld-xc16x/offset.s
@@ -0,0 +1,13 @@
+ .global _start
+_start:
+ mov r8,#0xf
+ jmps #seg:.12,#sof:.12
+ mov r9,#0xf
+.12:
+ mov r5,#0xf
+ mov r7,#0xf
+ calls #seg:.13,#sof:.13
+.13:
+ mov r6,#0xf
+ mov r8,#0xf
+ \ No newline at end of file