summaryrefslogtreecommitdiff
path: root/tests/inlineasm/asmspecialregs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inlineasm/asmspecialregs.py')
-rw-r--r--tests/inlineasm/asmspecialregs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/inlineasm/asmspecialregs.py b/tests/inlineasm/asmspecialregs.py
index edfe4c2bd..053ae29a4 100644
--- a/tests/inlineasm/asmspecialregs.py
+++ b/tests/inlineasm/asmspecialregs.py
@@ -2,10 +2,11 @@
def getIPSR():
mrs(r0, IPSR)
+
@micropython.asm_thumb
def getBASEPRI():
mrs(r0, BASEPRI)
+
print(getBASEPRI())
print(getIPSR())
-