amominu.b.aq

Atomically with acquire ordering: * Load the byte at address _xs1_ * Write the sign-extended value into _xd_ * Unsigned compare the least-significant byte of register _xs2_ to the loaded value, and select the minimum value * Write the minimum to the address in _xs1_

Synopsis

amominu.b.aq xd, xs2, (xs1)

Encoding

Type: R

0671112141519202425310101111xd000xs1xs21100010
funct7: 1100010
funct3: 000
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amominu.b.aq in rvcodecjs

Availability