nop in core::arch::riscv64 - Rust
Description: Generates the `NOP` instruction

Skip to main content

## nop

# Function nop

Source

    pub fn nop()

🔬This is a nightly-only experimental API. (`riscv_ext_intrinsics` #114544)
Available on (RISC-V RV32 or RISC-V RV64) and (RISC-V RV64) only.
Expand description

Generates the `NOP` instruction

The NOP instruction does not change any architecturally visible state, except for advancing the `pc` and incrementing any applicable performance counters.