Sample Assembler - renesas/micropython GitHub Wiki

- 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)

- For details on the inline assembly function, refer to the following url.