amoor.b
Atomic fetch-and-or byte
Atomically:
-
Load the byte at address xs1
-
Write the sign-extended value into xd
-
OR the least-significant byte of register xs2 to the loaded value
-
Write the result to the address in xs1
Decode Variables
Bits<5> xs2 = $encoding[24:20];
Bits<5> xs1 = $encoding[19:15];
Bits<5> xd = $encoding[11:7];
Exceptions
This instruction may result in the following synchronous exceptions:
-
LoadAccessFault
-
StoreAmoAccessFault
-
StoreAmoPageFault