Instruction generation method, device and equipment

The embodiment of the invention provides an instruction generation method, device and equipment. The method is applied to any processor which can distinguish instructions without instruction information, wherein the instruction information is description information used for describing operand types...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: QIAO PENGCHENG, JING TIAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides an instruction generation method, device and equipment. The method is applied to any processor which can distinguish instructions without instruction information, wherein the instruction information is description information used for describing operand types, and the method comprises obtaining a source program code and compiling the source program code into a to-be-executed instruction, the to-be-executed instruction comprises operand information and operand information, and the operand information only comprises an instruction identifier. Not only isstorage space saved, but also instruction execution efficiency is improved. 本发明实施例提供了一种指令生成方法、装置及设备,所述方法应用于任意一种不需要指令信息即可区分指令的处理器,所述指令信息为用于描述操作数类型的描述信息,包括获取源程序代码,将源程序代码编译为待执行指令,其中,待执行指令中包括操作码信息和操作数信息,操作码信息中只包括指令标识。既节省了存储空间,又提高了指令的执行效率。