micropython/tests/inlineasm
Alessandro Gatti 40dbf77415 py/emitinlinerv32: Add Zba opcodes to the inline assembler.
This commit adds support for Zba opcodes to the RV32 inline assembler.

Three new opcodes were added, SH1ADD, SH2ADD, and SH3ADD, which performs
a scaled addition (by 1, 2, or 3 bits respectively).  At the moment only
qemu's VIRT_RV32 and rp2's RPI_PICO2/RPI_PICO2_W ports support these
opcodes (the latter only when using the RISCV variant).

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2025-09-19 15:52:20 +02:00
..
rv32 py/emitinlinerv32: Add Zba opcodes to the inline assembler. 2025-09-19 15:52:20 +02:00
thumb tests: Add a test for invalid syntax in @micropython.asm. 2025-09-10 09:20:01 -05:00
xtensa py/emitinlinextensa: Add the rest of LX3 opcodes to the assembler. 2025-05-29 12:12:39 +10:00