1. A microprogrammable electronic device comprising a code memory ( 23 ) storing a software and/or firmware code comprising a number of instructions, said microprogrammable electronic device being configured to: compute a signature of the code stored in the code memory ( 23 ); and detect any corruption of the code stored in the code memory ( 23 ) on the basis of the computed signature; said microprogrammable electronic device being characterized by being further configured to: operate according to instruction cycles (C 1 , C 2 , C 3 , C 4 ), each divided into a respective first (C 11 ; C 21 ; C 31 ; C 41 ) and a respective second (C 12 ; C 22 ; C 32 ; C 42 ) operating phase; read a first instruction (I 1 ; I 2 ; I 3 ; I 4 ) from the code memory ( 23 ) at the first operating phase (C 11 ; C 21 ; C 31 ; C 41 ) of an instruction cycle (C 1 ; C 2 ; C 3 ; C 4 ); decode and execute the read first instruction (I 1 ; I 2 ; I 3 ; I 4 ) at the second operating phase (C 12 ; C 22 ; C 32 ; C 42 ) of said instruction cycle (C 1 ; C 2 ; C 3 ; C 4 ); read a second instruction (W 1 ; W 2 ; W 3 ; W 4 ) from the code memory ( 23 ) at the second operating phase (C 12 ; C 22 ; C 32 ; C 42 ) of said instruction cycle (C 1 ; C 2 ; C 3 ; C 4 ); and compute said signature on the basis of the read second instruction (W 1 ; W 2 ; W 3 ; W 4 ).