sh1add

Shifts `xs1` to the left by 1 bit and adds it to `xs2`.

Synopsis

sh1add xd, xs1, xs2

Encoding

Type: R

0671112141519202425310110011xd010xs1xs20010000
funct7: 0010000
funct3: 010
opcode: 0110011

RISC-V Instruction Encoder/Decoder

open sh1add in rvcodecjs

Availability