Method and system for implementing subroutine calls and returns in binary translation sub-systems of computers

作者: Ole Agesen

DOI:

关键词:

摘要: A sequence of input language (IL) instructions a guest system is converted, for example by binary translation, into corresponding output (OL) host system, which executes the OL instructions. In order to determine correct return address after any IL call subroutine, stored in an array at location determined hash function. After completion execution translation transferred where was previously stored. This may have been overwritten some other address. transfer will therefore be one three places: 1) either back site, case continue as normal; 2) directly back-up recovery module; or 3) incorrect site (created upon subroutine call), module. confirmation instruction block included each whether site.