Does MINU return 0 or 1?
No. It returns the original XLEN-bit value selected from rs1 or rs2 by the comparison rule.
Return the minimum of rs1 and rs2 using unsigned comparison.
MINU is a Zbb integer min/max instruction. It compares x[rs1] and x[rs2] as unsigned values and writes the original XLEN-bit value that is smaller under that ordering to rd.
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.
MINU selects between rs1 and rs2 using unsigned ordering and returns the selected original XLEN-bit pattern, not a comparison bit.
Understand this scenario with real code like «minu x10, x11, x12 ; x10 = unsigned_min(x11, x12)».
Understand this scenario with real code like «minu x10, x11, x12 ; x10 = unsigned_min(x11, x12)».
No. It returns the original XLEN-bit value selected from rs1 or rs2 by the comparison rule.
Use the U form when data is ordered as unsigned; use the non-U form for signed two's-complement ordering.