A semiconductor according to an embodiment of the invention has a supply
voltage generator circuit generating a supply voltage based on a received
radio signal, a voltage detector circuit detecting a reference voltage
dependent on the supply voltage, a memory circuit storing data, and a
control circuit executing write operation to the memory circuit according
to a reference voltage detected by the voltage detector circuit.