Language conversion method and device, equipment and storage medium

The embodiment of the invention discloses a language conversion method and device, equipment and a storage medium. The method comprises the steps of obtaining a to-be-converted assembly text containing a plurality of assembly instructions; global variable information used for representing global def...

Full description

Saved in:
Bibliographic Details
Main Authors LI XIKUI, SHEN HAIBIN
Format Patent
LanguageChinese
English
Published 28.07.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The embodiment of the invention discloses a language conversion method and device, equipment and a storage medium. The method comprises the steps of obtaining a to-be-converted assembly text containing a plurality of assembly instructions; global variable information used for representing global definition of the storage space in the assembly system is obtained; based on the type of each assembly instruction, determining a conversion format for converting each assembly instruction into a specified high-level language; and on the basis of the conversion format of each assembly instruction and the global variable information, converting each assembly instruction to obtain a high-level language statement corresponding to each assembly instruction. According to the embodiment of the invention, the operation speed of the program corresponding to the high-level language obtained by conversion can be improved by defining the global variable information, and conversion is carried out according to the conversion forma
Bibliography:Application Number: CN202310788555