摘要 |
PURPOSE:To check the execution of an incorrect instruction by deciding whether a terminal code transmitted from a card terminal to an IC card corresponds regularly to an instruction code successively transmitted at the time of information exchanging processing or not. CONSTITUTION:A data ROM52, an application ROM53, a system program ROM54, a working RAM55, a system controller 56, an arithmetic unit 57, etc. are connected to a system bus 51 of the IC card. The terminal code indicating the kind of the terminal itself which is previously stored in a terminal attribute ROM of the card terminal is compared with the instruction code,transmitted from the terminal side at the start of information exchange with the IC card in the IC card on the basis of a prescribed relational equation, and if the instruction code is mismatched with the card terminal, a data memory 65 is locked to prevent the contents of the memory 65 from incorrect reading or rewriting. |