首页> 外国专利> SYSTEM INCLUDING CPU AND CODE TRANSLATOR FOR TRANSLATING CODE FROM A SECOND INSTRUCTION SET TO A FIRST INSTRUCTION SET

SYSTEM INCLUDING CPU AND CODE TRANSLATOR FOR TRANSLATING CODE FROM A SECOND INSTRUCTION SET TO A FIRST INSTRUCTION SET

机译:包含CPU和代码翻译器的系统,用于将代码从第二个指令集转换为第一个指令集

摘要

A system includes a CPU and a code translator. The CPU may execute instructions from a first instruction set, and the code translator may translate Java code sequences from Java bytecodes to code sequences having instructions defined in the first instruction set. The translated code sequences may be executed by the CPU. While Java is used as an example of instructions which the code translator translates, the code translator may translate instructions from any instruction set to instructions executable by the CPU. In one embodiment, the translated code sequences may be stored in an area of memory reserved for the code translator. Additionally, a table may be maintained which maps addresses of instructions in the untranslated code sequences (e.g. the Java code sequences) to addresses of translated code sequences in the reserved memory area. Thus, prior to activating the code translator to translate a code sequence, the table may be checked to determine if the code sequence has already been translated. If so, the translated code sequence may be executed instead of activating the code translator.
机译:系统包括CPU和代码转换器。 CPU可以执行来自第一指令集的指令,并且代码翻译器可以将Java代码序列从Java字节码转换为具有在第一指令集中定义的指令的代码序列。转换的代码序列可以由CPU执行。尽管将Java用作代码转换器翻译的指令的示例,但是代码转换器可以将指令从任何指令集转换为可由CPU执行的指令。在一个实施例中,翻译后的代码序列可以存储在为代码转换器保留的存储器区域中。另外,可以维护一个表,该表将未翻译的代码序列(例如,Java代码序列)中的指令的地址映射到保留的存储器区域中的翻译的代码序列的地址。因此,在激活代码翻译器以翻译代码序列之前,可以检查表格以确定代码序列是否已经被翻译。如果是这样,可以执行翻译后的代码序列而不是激活代码翻译器。

著录项

  • 公开/公告号WO0161476A2

    专利类型

  • 公开/公告日2001-08-23

    原文格式PDF

  • 申请/专利权人 CHICORY SYSTEMS INC.;

    申请/专利号WO2001US04742

  • 发明设计人 MCDONALD ROBERT G.;DERRICK JOHN E.;

    申请日2001-02-13

  • 分类号G06F9/318;

  • 国家 WO

  • 入库时间 2022-08-22 01:17:35

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号