Sample Assembler - renesas/micropython GitHub Wiki

image

  • For the EK-RA6M2 board, Arm Thumb-2 inline assembly capabilities can be used.
@micropython.asm_thumb
def asm_add(r0, r1):
    add(r0, r0, r1)

asm_add(1, 2)

image