Patent ID: 6691246
Filing Date: 2004-02-10
Classification: G06F

Abstract:
A method of loading an original machine code program into a memory device having a plurality of memory cells available for execution, comprising the steps of:determining if the memory device includes a defective memory cell; loading the original machine code program into the memory device when the memory device includes no defective memory cell; executing a process when the memory device includes the defective memory cell; wherein the process comprises the steps of: determining a first break point of the original machine code program before a matched code address corresponding to the defective memory cell and a second break point of the original machine code program after the matched code address; moving a code block between the first break point and the second break point to an address space between a first address and a second address, the matched code address being excluded in the address space; linking an execution sequence between the moved code block and an unmoved portion of the original machine code program when the moved code block includes at least one executable instruction, the execution sequence being defined in the original machine code program; and loading the unmoved portion of the original machine code program and the moved code block to the memory device.