c.mv
Move Register
This instruction is defined by:
Synopsis
C.MV (move register) performs copy of the data in register xs2 to register xd C.MV expands to addi xd, x0, xs2.
Execution
-
Pruned, XLEN == 64
-
Original
if (implemented?(ExtensionName::C) && (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];