aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-semihosting/asm.s
diff options
context:
space:
mode:
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