c.nop

Non-operation

This instruction is defined by:

Encoding

svg

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.

Access

M HS U VS VU

Always

Always

Always

Always

Always

Decode Variables

signed Bits<6> imm = sext({$encoding[12], $encoding[6:2]}, 6);

Execution

  • Pruned, XLEN == 64

  • Original

if (implemented?(ExtensionName::C) && MISA_CSR_IMPLEMENTED && (CSR[misa].C == 1'b0)) {
  reserved_instruction($encoding);
}