Atomically: * Load the word at address _xs1_ * Write the sign-extended value into _xd_ * Store the least-significant word of register _xs2_ to the address in _xs1_
amoswap.w xd, xs2, (xs1)
Type: R
open amoswap.w in rvcodecjs