Device for identifying microprocessor and method therefor

PURPOSE: To identify a microprocessor during an operation by providing a first register, reading only memory, decoder, reading/writing memory, and controller. CONSTITUTION: A first register 20 stores data, and reads the data. A reading only memory (constant ROM) 33 stores microprocessor ID data including a data field for identifying a microprocessor 10. A decoder 41 receives a microprocessor ID instruction 54. A reading/writing memory (flag register) 14 reads microprocessor ID data from the constant ROM 33, and stores the data in a first register 20. A controller 40 executes an ID instruction 54 received from a decoder 41. Then, the microprocessor 10 is identified in response to the microprocessor ID instruction. Thus, the microprocessor 10 can be identified during an operation.