An IC card and a method thereof for adding or changing a program for a
memory for writing without adversely affecting the function of the IC
card and by keeping the security of a program to be written later by
restricting writing by a write control program having a decryption
function or a program code conversion function