amoand.w.rl

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

Synopsis

amoand.w.rl xd, xs2, (xs1)

Encoding

Type: R

0671112141519202425310101111xd010xs1xs20110001
funct7: 0110001
funct3: 010
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amoand.w.rl in rvcodecjs

Availability