Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

atomic memory operation

A RISC-V instruction that does a whole atomic update in one step, such as amoadd.w, which adds to memory and returns the old value.

RISC-V's A extension provides AMOs (amoswap, amoadd, amoand, amoor, amoxor, amomin/max[u]) in .w and .d forms with optional .aq/.rl ordering bits, alongside lr/sc; Zacas adds amocas.

Read the full section →