rs1
rs1 is a term used in the RISC-V instruction set architecture to denote the first source register field in an instruction encoding. It is a 5-bit field that selects one of the 32 general-purpose registers, commonly written as x0 through x31 in the machine code, with the usual ABI aliases such as zero, ra, sp, gp, tp, t0–t6, s0–s11, and a0–a7 in assembly.
In the encoding of RISC-V instructions, rs1 appears in several formats, notably R-type and I-type. For R-type
In assembly language, rs1 is the label for the field, but programmers typically refer to the registers
rs1 is a fundamental part of the instruction encoding and is distinct from the destination field rd