From 3b326e4b9942f90ee0cde8ccae1aef3fa9856fbf Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Sat, 23 Dec 2023 22:31:58 -0600 Subject: Use bx instruction for returns --- xosc.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xosc.s') 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 -- cgit v1.2.3