1. A method for use in an electronic memory repair system, the system comprising an electronic memory, a plurality of input/output ports coupled to the memory, and a set of IOs, the set of IOs comprising a plurality of main IOs and a plurality of spare IOs, the method comprising: (A) receiving an initial selection value; (B) determining whether the initial selection value comprises a legal selection value; (C) modifying the initial selection value to produce a legalized selection value if it is determined that the initial selection value does not comprise a legal selection value; (D) selecting the initial selection value as the legalized selection value if it is determined that the initial selection value comprises a legal selection value; and (E) outputting the legalized selection value.