aboutsummaryrefslogtreecommitdiff
path: root/asm/msp_r.s
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2018-04-26 01:52:07 +0200
committerGravatar Jorge Aparicio <jorge@japaric.io> 2018-04-26 01:52:07 +0200
commitbff66f8fa796e305df93f28d9a5e352eb51596e5 (patch)
treec6878210d90f8e7e8029a36cf8ebf23326c4f592 /asm/msp_r.s
parent00d6faae149c062e79a822b8d46b6b5e7e972f57 (diff)
downloadcortex-m-bff66f8fa796e305df93f28d9a5e352eb51596e5.tar.gz
cortex-m-bff66f8fa796e305df93f28d9a5e352eb51596e5.tar.zst
cortex-m-bff66f8fa796e305df93f28d9a5e352eb51596e5.zip
make compilable on stable
Diffstat (limited to 'asm/msp_r.s')
-rw-r--r--asm/msp_r.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/msp_r.s b/asm/msp_r.s
new file mode 100644
index 0000000..b31a715
--- /dev/null
+++ b/asm/msp_r.s
@@ -0,0 +1,4 @@
+ .global __msp_r
+__msp_r:
+ mrs r0, MSP
+ bx lr