c.nop
Non-operation
This instruction is defined by:
Synopsis
C.NOP does not change any user-visible state, except for advancing the pc and
accepting any HINTs.
C.NOP expands into addi x0, x0, 0.
C.NOP with non-zero immediate values are HINTs.
Execution
-
Pruned, XLEN == 64
-
Original
if (implemented?(ExtensionName::C) && (CSR[misa].C == 1'b0)) {
raise(ExceptionCode::IllegalInstruction, mode(), $encoding);
}