coded MemorySystem::write