首页> 外国专利> 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.
机译:以一种语言提出的数据结构定义可以在不同的编程语言之间共享。在汇编语言源代码文件和高级语言源代码文件中都定义了包含一个或多个元素的数据结构,汇编语言源代码文件中的定义是在高级语言中。根据汇编源文件中列出的定义确定数据结构的存储要求,并在由汇编程序处理之前从汇编源文件中删除这些定义。汇编源文件中包含的内存分配指令指定了数据结构的内存地址,并在汇编程序进行处理之前将其从汇编源程序中删除。汇编源文件以替换指令的形式包含对数据结构元素的引用。使用内存分配指令和数据结构定义,在由汇编程序处理之前,将替换指令替换为内存地址或元素大小。

著录项

  • 公开/公告号US6968548B1

    专利类型

  • 公开/公告日2005-11-22

    原文格式PDF

  • 申请/专利权人 ALLEN B. TABBERT;

    申请/专利号US20000727606

  • 发明设计人 ALLEN B. TABBERT;

    申请日2000-12-01

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 21:40:48

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号