aboutsummaryrefslogtreecommitdiff
path: root/xosc.s
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2023-12-23 22:31:58 -0600
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2023-12-23 22:31:58 -0600
commit3b326e4b9942f90ee0cde8ccae1aef3fa9856fbf (patch)
treeeae3c0658d70b83d807c04a2251099a6076470bb /xosc.s
parent8f6eed4e102500204879d848572547b35a267cea (diff)
Use bx instruction for returns
Diffstat (limited to 'xosc.s')
-rw-r--r--xosc.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/xosc.s b/xosc.s
index ee58ec0..acfc577 100644
--- a/xosc.s
+++ b/xosc.s
@@ -20,4 +20,4 @@ start_xosc:
ldr r0, [r1, STATUS_OFST]
lsrs r0, r0, 31 // poll status bit
beq 1b
- mov pc, lr
+ bx lr