XASM - A Generic and Retargetable Assembler
This report introduces XASM, a generic and retargetable assembler that can be used as a stand-alone tool, as well as a Java library or framework providing assembler-related Java classes for application programs. It is not necessary to modify or recompile the assembler in order to adapt it to new tar...
Main Author: | |
---|---|
Other Authors: | |
Format: | Others |
Language: | English |
Published: |
Saechsische Landesbibliothek- Staats- und Universitaetsbibliothek Dresden
2012
|
Subjects: | |
Online Access: | http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa-81904 http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa-81904 http://www.qucosa.de/fileadmin/data/qucosa/documents/8190/tud10-02.pdf |
Summary: | This report introduces XASM, a generic and retargetable assembler that can be used as a stand-alone tool, as well as a Java library or framework providing assembler-related Java classes for application programs. It is not necessary to modify or recompile the assembler in order to adapt it to new target architectures. Retargetability is achieved by Opcode Maps, a textual description of the instruction mnemonics and encodings of the target architecture, for which to generate machine code. Opcode maps feature an inheritance model, which makes them clearer and also means less effort in describing an instruction set because only the extensions compared to its binary compatible parent instruction set(s) need to be specified. |
---|