micropython/tests/inlineasm
Damien George 8f54c08691 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)
2016-01-27 14:27:10 +00:00
..
asmbcc.py tests: Add tests for inline assembler beq_n and beq_w ops. 2015-03-02 14:31:00 +00:00
asmbcc.py.exp tests: Add tests for inline assembler beq_n and beq_w ops. 2015-03-02 14:31:00 +00:00
asmbitops.py py: Implement clz and rbit for inline Thumb assembler. 2015-02-13 11:06:23 +00:00
asmbitops.py.exp py: Implement clz and rbit for inline Thumb assembler. 2015-02-13 11:06:23 +00:00
asmblbx.py py: Implement bl/bx instructions for inline Thumb assembler. 2015-02-16 18:17:07 +00:00
asmblbx.py.exp py: Implement bl/bx instructions for inline Thumb assembler. 2015-02-16 18:17:07 +00:00
asmconst.py py/inlinethumb: Remove 30-bit restriction on movwt instruction. 2016-01-07 16:34:11 +00:00
asmconst.py.exp py/inlinethumb: Remove 30-bit restriction on movwt instruction. 2016-01-07 16:34:11 +00:00
asmdiv.py py: Implement sdiv/udiv for inline Thumb assembler. 2015-02-13 10:43:05 +00:00
asmdiv.py.exp py: Implement sdiv/udiv for inline Thumb assembler. 2015-02-13 10:43:05 +00:00
asmfpaddsub.py py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpaddsub.py.exp py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpcmp.py py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpcmp.py.exp py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpldrstr.py py: In inline asm, vldr and vstr offsets now in bytes not words. 2015-10-31 10:50:45 +00:00
asmfpldrstr.py.exp py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpmuldiv.py py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpmuldiv.py.exp py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpsqrt.py py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmfpsqrt.py.exp py/inlinethumb: Support for core floating point instructions. 2015-04-19 15:47:05 +01:00
asmit.py py: Implement bl/bx instructions for inline Thumb assembler. 2015-02-16 18:17:07 +00:00
asmit.py.exp py: Implement bl/bx instructions for inline Thumb assembler. 2015-02-16 18:17:07 +00:00
asmpushpop.py py: Implement push/pop for inline Thumb assembler. 2015-02-13 02:30:35 +00:00
asmpushpop.py.exp py: Implement push/pop for inline Thumb assembler. 2015-02-13 02:30:35 +00:00
asmrettype.py py/inlineasm: Add ability to specify return type of asm_thumb funcs. 2016-01-27 14:27:10 +00:00
asmrettype.py.exp py/inlineasm: Add ability to specify return type of asm_thumb funcs. 2016-01-27 14:27:10 +00:00
asmshift.py py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler. 2015-10-19 14:26:19 +01:00
asmshift.py.exp py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler. 2015-10-19 14:26:19 +01:00
asmspecialregs.py py/emitinlinethumb: Add support for MRS instruction. 2015-12-10 17:32:54 +00:00
asmspecialregs.py.exp py/emitinlinethumb: Add support for MRS instruction. 2015-12-10 17:32:54 +00:00
asmsum.py tests: Add inline assembler test for pyboard. 2014-05-07 18:31:14 +01:00
asmsum.py.exp tests: Add inline assembler test for pyboard. 2014-05-07 18:31:14 +01:00