Skip to content
GitLab
  • Explore
  • Sign in
  • TASTETASTE
  • uPython-mirror
  • Repository
  • uPython-mirror
  • tests
  • inlineasm
  • asmrettype.py.exp
Find file Blame History Permalink
  • Damien George's avatar
    py/inlineasm: Add ability to specify return type of asm_thumb funcs. · 8f54c086
    Damien George authored Jan 15, 2016
    Supported return types are: object, bool, int, uint.
    
    For example:
    
    @micropython.asm_thumb
    def foo(r0, r1) -> uint:
        add(r0, r0, r1)
    8f54c086