A method of translating source code instructions into target code instructions is described. Prior to translate time, an existing interpreter is analyzed to identify sequences that implement individual source order code instructions. Sub-sequences within each template that implement predetermined sub-functions are identified and eliminated. The sequences are compiled and stored as templates. For each instruction in an input block of source code instructions, the appropriate template for that source code instruction is selected and appended to an output block of target code instructions. The source code block is then analyzed to determine the net effect of the non-implemented sub-functions, and code is planted in the output block to achieve this net effect.

Un metodo di traduzione delle istruzioni di codice sorgente nelle istruzioni di codice dell'obiettivo è descritto. Prima di traduca il tempo, un interpretatore attuale è analizzato per identificare le sequenze che effettuano le diverse istruzioni di codice di ordine di fonte. le Secondario-sequenze all'interno di ogni mascherina che effettuano i sub-functions predeterminati sono identificate ed eliminate. Le sequenze sono compilate ed immagazzinate come mascherine. Per ogni istruzione in un blocchetto dell'input delle istruzioni di codice sorgente, la mascherina adatta per quell'istruzione di codice sorgente è selezionata e collegata ad un blocchetto dell'uscita delle istruzioni di codice dell'obiettivo. Il blocchetto di codice sorgente allora è analizzato per determinare l'effetto netto dei sub-functions non-effettuati ed il codice è piantato nel blocchetto dell'uscita per realizzare questo effetto netto.

 
Web www.patentalert.com

< Just-in-time software updates

< Computer program profiler

> Methods and apparatus for optimizing simple network management protocol (SNMP) requests

> Method and system for loading instructions into an executing process

~ 00060