mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
py/emitinlinerv32: Add inline assembler support for RV32.
This commit adds support for writing inline assembler functions when targeting a RV32IMC processor. Given that this takes up a bit of rodata space due to its large instruction decoding table and its extensive error messages, it is enabled by default only on offline targets such as mpy-cross and the qemu port. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
This commit is contained in:
committed by
Damien George
parent
3044233ea3
commit
268acb714d
15
tests/inlineasm/rv32/asmshift.py.exp
Normal file
15
tests/inlineasm/rv32/asmshift.py.exp
Normal file
@@ -0,0 +1,15 @@
|
||||
0x246
|
||||
0x800000
|
||||
0x91
|
||||
0x1
|
||||
0x91
|
||||
-0x1
|
||||
0x246
|
||||
0x800000
|
||||
0x91
|
||||
0x1
|
||||
0x91
|
||||
-0x1
|
||||
0x246
|
||||
0x91
|
||||
0x91
|
||||
Reference in New Issue
Block a user