I'm looking for an universal assembler for custom microcode arc开发者_StackOverflowhitectures. Does anyone know of an (open source) application that can take an ASM file, and an architecture definition file of some kind, and emit binary opcodes?
There are a couple of tools like that. The ones I know about:
- GNU's CGEN, used for a couple of archs in binutils.
- ArchC Assembler Generator.
- Various academic tools using Sim-nML language, see e.g. Processor Models for Retargetable Tools
精彩评论