DocumentCode
1932442
Title
Specifying the semantics of machine instructions
Author
Cifuentes, Cristina ; Sendall, Shane
Author_Institution
Dept. of Comput. Sci. & Electr. Eng., Queensland Univ., Brisbane, Qld., Australia
fYear
1998
fDate
24-26 Jun 1998
Firstpage
126
Lastpage
133
Abstract
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
Keywords
instruction sets; software portability; specification languages; systems re-engineering; Instruction Set Processor descriptions; binary debuggers; binary profilers; instruction set; instrumentors; intermediate representation; machine instructions semantics; machine-code manipulation tools; machine-independent issues; optimizing compilers; retargetable binary translation framework; retargetable binary translator; semantic specification language; Australia Council; Binary codes; Computer science; Instruments; Operating systems; Process design; Programming profession; Read only memory; Runtime; Specification languages;
fLanguage
English
Publisher
ieee
Conference_Titel
Program Comprehension, 1998. IWPC '98. Proceedings., 6th International Workshop on
Conference_Location
Ischia
ISSN
1092-8138
Print_ISBN
0-8186-8560-3
Type
conf
DOI
10.1109/WPC.1998.693332
Filename
693332
Link To Document