Abstract
Binary tools are crucial to platform-based design, specially in early development of hardware-dependent software since it effectively enables hardware-software co-design. In this chapter we present the mechanisms available in ArchC that allows the automatic generation of binary tools such as assemblers, disassemblers, linkers, and debuggers. We start by describing the ArchC language extensions used to declare assembly language symbols, instruction syntax, instruction encoding, and operand modifiers. Following the language support, we show how our retargeting technique allows the automatic generation of the binary tools. We also discuss the GNU binutils framework and how it fits into our retargetability mechanism. We close the chapter by guiding the reader through the steps required to generate the tools from a processor model written in ArchC.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
R.H. Pesch, J.M. Osier, The GNU Binary Utilities (Free Software Foundation, Boston, 1993)
The ArchC Website (March 2008). http://www.archc.org
TIS Committee, Executable and Linking Format Specification (1995)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media B.V.
About this chapter
Cite this chapter
Baldassin, A., Centoducatte, P., Santos, L. (2011). Retargetable Binary Tools. In: Rigo, S., Azevedo, R., Santos, L. (eds) Electronic System Level Design. Springer, Dordrecht. https://doi.org/10.1007/978-1-4020-9940-3_6
Download citation
DOI: https://doi.org/10.1007/978-1-4020-9940-3_6
Publisher Name: Springer, Dordrecht
Print ISBN: 978-1-4020-9939-7
Online ISBN: 978-1-4020-9940-3
eBook Packages: EngineeringEngineering (R0)