In an RF tag, a mask ROM or a flash memory is used for storing data such
as an ID number. Although the mask ROM can be realized at a low price,
rewriting is not possible. In addition, in the flash memory, although
electric rewriting is possible, production cost increases. Accordingly,
it is difficult to provide an RF tag by which data rewriting is possible
at a low price. An RF tag is provided with a power supply circuit having
a function to generate a power supply voltage from a weak radio signal
and a memory which can hold data stored in a data holding portion by the
power supply voltage. With the above structure, a high-performance RF tag
capable of rewriting data such as an ID number after production can be
provided at a low price.