sb.aqrl

Store the lowest 8 bits of register `xs2` to the address in `xs1`. This instruction has both acquire and release semantics. No subsequent memory operations (in program order) from this hart can be observed to occur before this store completes, and no previous memory operations can be observed to occur after this store completes. The address must be naturally aligned; if not, an address-misaligned or access-fault exception will be raised.

Synopsis

sb.aqrl xs2, (xs1)

Encoding

Type:

014151920242531000000000101111xs1xs20011111
funct7: 0011111
funct3: 000
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open sb.aqrl in rvcodecjs

Availability