summaryrefslogtreecommitdiff
path: root/tests/inlineasm/asmbitops.py
diff options
context:
space:
mode:
authorJeff Epler <jeff@adafruit.com>2021-03-15 13:50:49 -0500
committerGitHub <noreply@github.com>2021-03-15 13:50:49 -0500
commit05ed179e11599dd45a76dfb14ecf624d0ff96d68 (patch)
treea046c6d1f117814168150484ed1bf7840d3400d7 /tests/inlineasm/asmbitops.py
parent3cbff45f9aac5ea2855bbc888083d356a91c80fe (diff)
parentf9b4189b4c640823dabb76de8effd2a836da2eb0 (diff)
Merge pull request #4362 from microDev1/code-formatting
Add code formatting and translations check
Diffstat (limited to 'tests/inlineasm/asmbitops.py')
-rw-r--r--tests/inlineasm/asmbitops.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/inlineasm/asmbitops.py b/tests/inlineasm/asmbitops.py
index 8cf92b301..d1c8a9823 100644
--- a/tests/inlineasm/asmbitops.py
+++ b/tests/inlineasm/asmbitops.py
@@ -2,12 +2,15 @@
def clz(r0):
clz(r0, r0)
-print(clz(0xf0))
+
+print(clz(0xF0))
print(clz(0x8000))
+
@micropython.asm_thumb
def rbit(r0):
rbit(r0, r0)
-print(hex(rbit(0xf0)))
+
+print(hex(rbit(0xF0)))
print(hex(rbit(0x8000)))