mirror of
https://github.com/micropython/micropython.git
synced 2026-06-11 09:05:14 +02:00
9da627f9a0
This commit adds support for Zcmp opcodes to the RV32 inline assembler. Five new opcodes were added: CM.PUSH, CM.POP, CM.POPRET, CM.POPRETZ, CM.MVA01S, and CM.MVSA01, which introduce multi-register push and pop (similar to Thumb's PUSH and POP opcodes) and shortcuts to swap registers A0 and A1 with two chosen S-registers. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>