主权项 |
1. A data processing apparatus, comprising:
a first storage including volatile storage media having a first stack area and a work area; a second storage including nonvolatile storage media having a second stack area; an electronic circuit unit including at least one volatile register; a selector having an output port, and arranged to transmit binary signals through the output port to the first storage and the second storage based on selection information indicating a selection for one of the first storage or the second storage for the electronic circuit unit to perform read/write operations exclusively on the selected storage; and an inverter arranged between the selector and the first storage, and configured to invert binary signals transmitting to the first storage, wherein the selector selects the first storage in a state where data processing performed by the electronic circuit unit is ongoing, and selects the second storage in a state where the data processing is stopped for a shutdown of an electric power of the data processing apparatus, and wherein the electronic circuit unit stores register data, which is stored in the at least one volatile register, in the stack area of the second storage when the data processing is stopped for the shutdown. |