Patent ID: 7028292
Filing Date: 2006-04-11
Classification: G06F

Abstract:
1. A program executing apparatus of an interpreter type for interpreting and executing one by one intermediate codes generated by a compiler of an apparatus with a different machine architecture than said program executing apparatus, said apparatus comprising: code reading means for reading the intermediate codes generated by the compiler of the apparatus with a different machine architecture than said program executing apparatus into a storage unit; data-reference analyzing means for determining whether the intermediate codes, generated by the compiler of the apparatus with a different machine architecture than said program executing apparatus and read into the storage unit by said code reading means, need data references and, if needed, analyzing the data references of the intermediate codes read into the storage unit; code rewriting means for rewriting the intermediate codes, generated by the compiler of the apparatus with a different machine architecture than said program executing apparatus and processed by said data-reference analyzing means, based on a data arrangement boundary employed by said program executing apparatus; address updating means for updating addresses of the intermediate codes generated by the compiler of the apparatus with a different machine architecture than said program executing apparatus, processed by said data-reference analyzing means and rewritten by said code rewriting means when a size of the intermediate codes becomes larger than the intermediate codes' original size due to rewriting performed by said code rewriting means; and main interpreting and executing means for, after completion of operations by said data-reference analyzing means, said code rewriting means, and said address updating means, interpreting and executing the intermediate codes one by one.