发明名称 EXCEPTION HANDLING METHOD AND APPARATUS FOR USE IN PROGRAM CODE CONVERSION
摘要 A method of handling exceptions for use in an emulator (20) performing program code conversion. Registers (X) of a subject machine (11) being emulated (20) are represented by a pair of abstract registers (XA, XB) on the target machine (31), suitably using memory locations of the target machine and/or any available target registers. One of the pair (e.g., Reg XA) holds a definitive value at entry into a section (100) of subject code (10) whilst the other (e.g., Reg XB) holds a speculative value which is updated during translation and execution of that section of code. Exceptions are handled by recovering the conditions of the virtual subject machine (11) upon entry into the section of subject code (100) using the definitive version of each abstract register (i.e., Reg XA). Advantageously, the function of the pair of registers (XA, XB) is alternated upon successful completion of each section of subject code (100) such that a definitive version of each register is always available for exception handling whilst avoiding time consuming copy and storing operations.
申请公布号 WO0065440(A2) 申请公布日期 2000.11.02
申请号 WO2000GB01439 申请日期 2000.04.26
申请人 VICTORIA UNIVERSITY OF MANCHESTER;RAWSTHORNE, ALASDAIR;SANDHAM, JOHN, HAROLD;SOULOGLOU, JASON 发明人 RAWSTHORNE, ALASDAIR;SANDHAM, JOHN, HAROLD;SOULOGLOU, JASON
分类号 G06F9/318;G06F9/38;G06F9/45;G06F9/455;(IPC1-7):G06F9/455 主分类号 G06F9/318
代理机构 代理人
主权项
地址