1. A method of processing memory, for loading an executable object code into said memory, comprising the steps of: setting a plurality of pre-generated object codes each having at least a skipped-code-address range; detecting defective addresses of said memory; according to the detecting result, selecting an executable object code, which has the matching skipped-code-address range, from said pre-generated object codes; and loading said executable object code into said memory for execution.