micropython/tests/feature_check/inlineasm_thumb2.py

11 wiersze
125 B
Python

# check if Thumb2/ARMV7M instructions are supported
@micropython.asm_thumb
def f():
it(eq)
nop()
print("thumb2")