An electronic circuit comprising: a bistable circuit connected between a first power source supplied with a first power supply voltage and a second power source supplied with a second power-supply voltage lower than the first power-supply voltage, the bistable circuit including a first inverter and a second inverter, an output node of the first inverter is coupled to an input node of the second inverter, characterized in that output node of the second inverter is coupled to an input node of the first inverter, the first inverter and the second inverter being inverter circuits configured to switch between a first mode and a second mode; a control circuit configured to output a first signal and a second signal to the inverter circuits, the first signal setting the inverter circuits in the first mode, the second signal setting the inverter circuits in the second mode; and a power-supply circuit configured to supply a first voltage as a power-supply voltage, which is a difference between the first power-supply voltage and the second power-supply voltage, while the inverter circuits are in the first mode, and supply a second voltage higher than the first voltage as the power-supply voltage while the inverter circuits are in the second mode, wherein the first mode is a mode that exhibits hysteresis in a transfer characteristic curve and the second mode is a mode that exhibits no hysteresis in a transfer characteristic curve, and/or the first mode is a mode of which the transfer characteristic curve is steeper than the transfer characteristic curve of the second mode, wherein the bistable circuit retains data and does not write or read data in the first mode, and writes and reads data in the second mode. a bistable circuit connected between a first power source supplied with a first power supply voltage and a second power source supplied with a second power-supply voltage lower than the first power-supply voltage, the bistable circuit including a first inverter and a second inverter, an output node of the first inverter is coupled to an input node of the second inverter, characterized in that output node of the second inverter is coupled to an input node of the first inverter, the first inverter and the second inverter being inverter circuits configured to switch between a first mode and a second mode; a control circuit configured to output a first signal and a second signal to the inverter circuits, the first signal setting the inverter circuits in the first mode, the second signal setting the inverter circuits in the second mode; and a power-supply circuit configured to supply a first voltage as a power-supply voltage, which is a difference between the first power-supply voltage and the second power-supply voltage, while the inverter circuits are in the first mode, and supply a second voltage higher than the first voltage as the power-supply voltage while the inverter circuits are in the second mode, wherein the first mode is a mode that exhibits hysteresis in a transfer characteristic curve and the second mode is a mode that exhibits no hysteresis in a transfer characteristic curve, and/or the first mode is a mode of which the transfer characteristic curve is steeper than the transfer characteristic curve of the second mode, wherein the bistable circuit retains data and does not write or read data in the first mode, and writes and reads data in the second mode. <EOS>