Skip to content

Inline assembler function causes crash #1111

Description

@peterhinch

Use of registers beyond r7 seems problematic. The following causes a crash

@micropython.asm_thumb
def foo(r0):
    mov(r9, r0)

foo(0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions