aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-semihosting/asm.s
diff options
context:
space:
mode:
authorGravatar Jonas Schievink <jonasschievink@gmail.com> 2020-08-31 23:16:21 +0200
committerGravatar Jonas Schievink <jonasschievink@gmail.com> 2020-10-13 21:30:44 +0200
commit10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103 (patch)
treeceb6fc008cfbcc430a4254464d0e3341c34796e1 /cortex-m-semihosting/asm.s
parentf77d64a2d1505335e4a170d03a40993bb066fd02 (diff)
downloadcortex-m-10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103.tar.gz
cortex-m-10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103.tar.zst
cortex-m-10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103.zip
Import semihosting crates as-is
Diffstat (limited to 'cortex-m-semihosting/asm.s')
-rw-r--r--cortex-m-semihosting/asm.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/cortex-m-semihosting/asm.s b/cortex-m-semihosting/asm.s
new file mode 100644
index 0000000..26a13fc
--- /dev/null
+++ b/cortex-m-semihosting/asm.s
@@ -0,0 +1,6 @@
+ .section .text.__syscall
+ .global __syscall
+ .thumb_func
+__syscall:
+ bkpt 0xAB
+ bx lr