add

Add the value in xs1 to xs2, and store the result in xd. Any overflow is thrown away.

Synopsis

add xd, xs1, xs2

Encoding

Type: R

0671112141519202425310110011xd000xs1xs20000000
funct7: 0000000
funct3: 000
opcode: 0110011

RISC-V Instruction Encoder/Decoder

open add in rvcodecjs

Availability