×

Method and apparatus for performing native binding to execute native code

DC
  • US 7,434,209 B2
  • Filed: 12/29/2003
  • Issued: 10/07/2008
  • Est. Priority Date: 07/15/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method of translating subject program code executable by a subject processor into target program code executable by a target processor, said method comprising:

  • dividing the subject program code into a plurality of subject program code units;

    translating one or more of the subject program code units into one or more target program code units; and

    executing the one or more target program code units on the target processor;

    wherein the translating step includes identifying a subject function in the subject program code having a corresponding native function of native code, wherein the native code is code executable by the target processor, and identifying the native function of the native code which corresponds to the identified subject function; and

    wherein the executing step includes executing the native function on the target processor instead of executing a translated version of the identified subject function, including transforming zero or more function parameters from a target code representation to a native code representation, invoking the native function with the transformed zero or more function parameters according to a prototype of the native function, and transforming zero or more return values of the invoked native function from a native code representation to a target code representation.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×