summaryrefslogtreecommitdiff
path: root/tests/inlineasm/asmfpaddsub.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inlineasm/asmfpaddsub.py')
-rw-r--r--tests/inlineasm/asmfpaddsub.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/inlineasm/asmfpaddsub.py b/tests/inlineasm/asmfpaddsub.py
index b5fcecb6c..f69c89cdc 100644
--- a/tests/inlineasm/asmfpaddsub.py
+++ b/tests/inlineasm/asmfpaddsub.py
@@ -1,4 +1,4 @@
-@micropython.asm_thumb # r0 = r0+r1-r2
+@micropython.asm_thumb # r0 = r0+r1-r2
def add_sub(r0, r1, r2):
vmov(s0, r0)
vcvt_f32_s32(s0, s0)
@@ -11,5 +11,5 @@ def add_sub(r0, r1, r2):
vcvt_s32_f32(s31, s0)
vmov(r0, s31)
-print(add_sub(100, 20, 30))
+print(add_sub(100, 20, 30))