×

Method for the migration of hardware-proximate, subprogram-independent programs with portable and non-portable program parts

  • US 6,128,590 A
  • Filed: 01/04/1999
  • Issued: 10/03/2000
  • Est. Priority Date: 07/09/1996
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for moving hardware-proximate and subprogram-independent program code for a source hardware into a program code for a destination hardware having an architecture deviating from an architecture of the source hardware, the program code to be moved being composed of portable and non-portable program parts, comprising the steps of:

  • translating the portable program parts into code for the destination hardware; and

    , therebyidentifying all possible entry points at which said portable program parts are branchable to proceeding from other program parts;

    generating a specific bit pattern in said portable program parts at all such entry points, said specific bit pattern representing a dummy command of the destination hardware without yielding a valid operation for the source hardware;

    generating program code that, at run time on the destination hardware, checks a branch destination of a corresponding exit to determined if the specific bit pattern is present at all potential exit points of non-local branchings leading out from one of said portable program parts, and, if the specific bit pattern is not present, activating an emulator that emulates the non-portable program part on the destination hardware that has been branched to and that is consequently present as non-portable code for the source hardware; and

    carrying out a check to determine if the specific bit pattern is present at a destination address in the emulation given all potentially non-local exits from an emulated program part and, if the specific bit pattern is present, ending the emulation.

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