Add memory write (but read still isn't quite right).