Is it always equivalent to a same-named 32-bit instruction?
Not always. Some C/Zc instructions compress common 32-bit operations, while others have dedicated stack-frame or table-jump semantics.
Move two different s0-s7 registers into a0 and a1
CM.MVA01S (Zcmp) writes r1s' into a0 and r2s' into a1; both source registers are from s0-s7 and must be different. It is used to move values from saved registers into a0/a1. The instruction reuses c.fsdsp encodings, is incompatible with Zcd, belongs to Zcmp, and depends on Zca.
CM.MVA01S is a Zcmp 16-bit register-move instruction whose direction is from two different s0-s7 source registers into a0/a1.
Understand this scenario with real code like «cm.mva01s s0, s1 # a0 = s0; a1 = s1».
Understand this scenario with real code like «cm.mva01s s0, s1 # a0 = s0; a1 = s1».
Understand this scenario with real code like «cm.mva01s s0, s1 # a0 = s0; a1 = s1».
Not always. Some C/Zc instructions compress common 32-bit operations, while others have dedicated stack-frame or table-jump semantics.
Many 16-bit encodings can represent only a compressed register subset or fixed registers such as sp, ra, a0/a1.