Specifying the semantics of machine instructions

被引:19
作者
Cifuentes, C [1 ]
Sendall, S [1 ]
机构
[1] Univ Queensland, Dept Comp Sci & Elect Engn, Brisbane, Qld 4072, Australia
来源
6TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION (IWPC 98) - PROCEEDINGS | 1998年
关键词
D O I
10.1109/WPC.1998.693332
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Computer architecture manuals describe the instruction set of the machine and the semantics of the machine instructions by a combination of natural language and ISP (Instruction Set Processor) descriptions. The syntax of the instructions in assembly is well defined in the form of tables in the manual. However; the semantics is not so well specified and descriptions vary widely from one manual to another: When developing a retargetable binary translator as much as possible needs to be specified in order to automatically generate code from specifications, hence separating machine-independent issues from the manual coding stage. The specification of the semantics of machine instructions is one such task, with the aim of generating suitable code for an intermediate representation that is to be used during the analysis stage We describe the design process used to develop a semantic specification language, SSL, to integrate into a retargetable binary translation framework. The techniques described herein are suitable not just to binary translators but also to machine-code manipulation tools such as optimizing compilers, binary profilers, instrumentors, and binary debuggers.
引用
收藏
页码:126 / 133
页数:8
相关论文
empty
未找到相关数据