imple comController::writeMemory()