amoadd.b.aqrl

Atomically with acquire and release ordering: * Load the byte at address _xs1_ * Write the sign-extended value into _xd_ * Add the least-significant byte of register _xs2_ to the loaded value * Write the result to the address in _xs1_

Synopsis

amoadd.b.aqrl xd, xs2, (xs1)

Encoding

Type: R

0671112141519202425310101111xd000xs1xs20000011
funct7: 0000011
funct3: 000
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amoadd.b.aqrl in rvcodecjs

Availability