A system for configuring registers of microcontrollers includes first
register and second registers. The system includes a data source for
loading a datum into the first register and the logic complement of said
datum in the second register. The system also includes a comparator which
verifies the identity between the datum in the first register and the
logic complement in the second register, and, where the identity is not
verified, generates a signal indicating that the data have been corrupted
by a disturbance. The system also includes a final-state machine which
disables the comparator during writing of the registers.