Does ROLW access memory?
No. It only reads and writes integer registers; any memory access must be performed by a separate load or store instruction.
Rotate left word by register (RV64)
Rotates lower 32 bits of rs1 left by rs2[4:0], result sign-extended to XLEN. Part of Zbb and Zbkb.
Starts with machine-code field decoding, then shows operand reads, instruction-specific execution, and ISA-visible state update.
The machine code is split by the current instruction format; the animation starts from encoding/decode.
This animation shows ISA-visible decode and state changes, not any specific CPU pipeline, cache, prediction, or timing implementation.
ROLW is a B/Zbb instruction for rotate-left word and sign-extend. This page is checked against the official B extension semantics, with emphasis on XLEN, W suffixes, .uw suffixes, and bitwise or rotate boundaries.
Understand this scenario with real code like «rolw x10, x11, x12 ; x10 = sign_ext(rotl(x11[31:0], x12[4:0]))».
Understand this scenario with real code like «rolw x10, x11, x12 ; x10 = sign_ext(rotl(x11[31:0], x12[4:0]))».
No. It only reads and writes integer registers; any memory access must be performed by a separate load or store instruction.
ROLW first produces a 32-bit rotated result, then sign-extends bit 31 to the 64-bit value written to rd.