-
- Downloads
py/inlineasm: Add ability to specify return type of asm_thumb funcs.
Supported return types are: object, bool, int, uint. For example: @micropython.asm_thumb def foo(r0, r1) -> uint: add(r0, r0, r1)
Showing
- py/compile.c 19 additions, 2 deletionspy/compile.c
- py/emit.h 1 addition, 1 deletionpy/emit.h
- py/emitglue.c 1 addition, 1 deletionpy/emitglue.c
- py/emitinlinethumb.c 3 additions, 2 deletionspy/emitinlinethumb.c
- py/nativeglue.c 10 additions, 2 deletionspy/nativeglue.c
- py/obj.h 1 addition, 1 deletionpy/obj.h
- py/objfun.c 4 additions, 7 deletionspy/objfun.c
- py/qstrdefs.h 1 addition, 0 deletionspy/qstrdefs.h
- tests/inlineasm/asmrettype.py 21 additions, 0 deletionstests/inlineasm/asmrettype.py
- tests/inlineasm/asmrettype.py.exp 4 additions, 0 deletionstests/inlineasm/asmrettype.py.exp
Loading
Please register or sign in to comment