loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
17th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD'05)
Extending the ArchC Language for Automatic Generation of Assemblers
Rio de Janeiro, Brazil
October 24-October 27
ISBN: 0-7695-2446-X
Alexandro Baldassin, Institute of Computing, University of Campinas Cidade Universitaria, Campinas-SP, Brazil
Paulo Cesar Centoducatte, Institute of Computing, University of Campinas Cidade Universitaria, Campinas-SP, Brazil
Sandro Rigo, Institute of Computing, University of Campinas Cidade Universitaria, Campinas-SP, Brazil
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.
Citation:
Alexandro Baldassin, Paulo Cesar Centoducatte, Sandro Rigo, "Extending the ArchC Language for Automatic Generation of Assemblers," sbac-pad, pp.60-68, 17th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD'05), 2005
Usage of this product signifies your acceptance of the Terms of Use.