forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 3
Sample Assembler
TakeoTakahashi2020 edited this page Sep 23, 2021
·
2 revisions
- 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.