DocumentCode :
3234308
Title :
Extending the ArchC language for automatic generation of assemblers
Author :
Baldassin, Alexandro ; Centoducatte, Paulo Cesar ; Rigo, Sandro
Author_Institution :
Inst. of Comput., Campinas Univ., Brazil
fYear :
2005
fDate :
24-27 Oct. 2005
Firstpage :
60
Lastpage :
67
Abstract :
In this paper, we extend the ArchC language with new constructs to describe the assembly language syntax and operand encoding of an instruction set architecture. Based on the extended language we have created a tool which can automatically generate assemblers. Our tool uses the GNU Binutils framework in order to produce the assembler, generating the architecture dependent files necessary to retarget the GNU assembler and the Binutils libraries. We have generated assemblers for the MIPS-I and SPARC-V8 architectures based on ArchC models using our tool. The assemblers generated for both architectures were compared with the default gas assemblers for a set of files taken from the MiBench benchmark, and the ELF object files generated by each pair of assemblers were equivalent in both cases.
Keywords :
assembly language; automatic programming; instruction sets; program assemblers; ArchC language; Binutils library; ELF object file; GNU assembler library; MIPS-I architecture; MiBench benchmark; SPARC-V8 architecture; assembly language; automatic assembler generation; instruction set architecture; operand encoding; Assembly; Computer aided instruction; Computer architecture; Encoding; Geophysical measurement techniques; Ground penetrating radar; Instruction sets; Laboratories; Libraries; Process design;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Architecture and High Performance Computing, 2005. SBAC-PAD 2005. 17th International Symposium on
ISSN :
1550-6533
Print_ISBN :
0-7695-2446-X
Type :
conf
DOI :
10.1109/CAHPC.2005.25
Filename :
1592557
Link To Document :
بازگشت