Model-driven assembler automatic generation method and device
The invention discloses a model-driven assembler automatic generation method and device. The method comprises the following steps: S01, constructing an assembler description model required for generating an instruction set architecture assembler; s02, according to the assembler description model, re...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a model-driven assembler automatic generation method and device. The method comprises the following steps: S01, constructing an assembler description model required for generating an instruction set architecture assembler; s02, according to the assembler description model, respectively generating an instruction regular grammar index table, an instruction field coding transformation sequence index table and a mapping table of instruction names and instruction item indexes; s03, reading a target assembly program code of the assembler, and respectively generating an assembly instruction index table, an assembly instruction program address index table, an assembly instruction length index table, an assembly instruction parallel execution mark index table, an assembly instruction binary coding index table and a mark number, index and program address mapping table; s04, sequentially obtaining an assembly instruction, and converting the assembly instruction into a corresponding binary code; a |
---|