Skip to content

Sample Assembler

TakeoTakahashi2020 edited this page Sep 23, 2021 · 2 revisions

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

Home

ホーム

Clone this wiki locally