c.mv Move Register This instruction is defined by: Encoding Synopsis C.MV (move register) performs copy of the data in register xs2 to register xd C.MV expands to addi xd, x0, xs2. Access M HS U VS VU Always Always Always Always Always Decode Variables Bits<5> xd = $encoding[11:7]; Bits<5> xs2 = $encoding[6:2]; Execution Pruned, XLEN == 64 Original if ((misa.C == 1'b0)) { raise(ExceptionCode::IllegalInstruction, mode(), $encoding); } X[xd] = X[xs2]; if (implemented?(ExtensionName::C) && (misa.C == 1'b0)) { raise(ExceptionCode::IllegalInstruction, mode(), $encoding); } X[xd] = X[xs2]; Exceptions This instruction may result in the following synchronous exceptions: IllegalInstruction