sh2add

Shifts `xs1` to the left by 2 places and adds it to `xs2`.

Synopsis

sh2add xd, xs1, xs2

Encoding

Type: R

0671112141519202425310110011xd100xs1xs20010000
funct7: 0010000
funct3: 100
opcode: 0110011

RISC-V Instruction Encoder/Decoder

open sh2add in rvcodecjs

Availability