As long as the dynamic RAM is set to the read-modify-write mode, data RMD is read from the dynamic RAM. This data RMD and the data D supplied from the microprocessor are subjected to an operation such as AND operation or OR operation, and the result of this operation is written into the dynamic RAM. To be more specific, the microprocessor first outputs an address signal A as is illustrated in FIG.