Instructions are no longer member functions
[riscv-isa-sim.git] / riscv / insns / amoswap_w.h
1 reg_t v = MMU.load_int32(RS1);
2 MMU.store_uint32(RS1, RS2);
3 RD = v;