首页>
外国专利>
Method and apparatus for sharing data structures between assembly language programs and high-level language programs
Method and apparatus for sharing data structures between assembly language programs and high-level language programs
展开▼
机译:在汇编语言程序和高级语言程序之间共享数据结构的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
Data structure definitions set forth in one language may be shared between different programming languages. Data structures that include one or more elements are defined in both an assembly language source code file and in high-level language source code file, with the definitions in the assembly language source code file being in the high-level language. The storage requirements of the data structures are determined from the definitions set forth in the assembly source file and the definitions are removed from the assembly source file prior to processing by an assembler. Memory allocation directives that are included in the assembly source file specify memory addresses of the data structures and are removed from the assembly source program prior to processing by the assembler. The assembly source file includes references to elements of the data structures in the form of substitution directives. Using the memory allocation directives and the data structure definitions, the substitution directives are replaced with memory addresses or element sizes prior to processing by the assembler.
展开▼