pub fn mw(&mut self, addr: u32, value: u32) -> MemoryWriteRecord {
        self.rt.mw(addr, value, self.current_shard, self.clk, Some(&mut self.local_memory_access))
    }
Write a word to memory.

`addr` must be a pointer to main memory, not a register.
crates/core/executor/src/syscalls/context.rs