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...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
28.07.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
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 |