Supported return types are: object, bool, int, uint.
For example:
@micropython.asm_thumb
def foo(r0, r1) -> uint:
add(r0, r0, r1)
4 lines
84 B
Text
4 lines
84 B
Text
1
|
|
False True
|
|
0 0x20000000 0x40000000 -0x80000000
|
|
0 0x20000000 0x40000000 0x80000000
|