首页> 外国专利> Method and apparatus for automatic production of instructions of the mini - computer to the classes of distinct applications

Method and apparatus for automatic production of instructions of the mini - computer to the classes of distinct applications

机译:用于将微型计算机的指令自动生成到不同应用类别的方法和设备

摘要

1405353 Data processing BURROUGHS CORP 30 July 1973 [13 Feb 1973] 36146/73 Heading G4A A digital computer is used to generate a program of machine-level instructions for a target computer from a coded representation of the general solution to a class of problems and parameters defining a specific problem and a hardware specification of the target computer. A description of the problem structure for the class of problems considered is input, in an application Specification language ASL, to a compiler which converts the description to a structure code, segmented by activity, and a code generator, which may be a general or special purpose computer, uses the structure code and parameters to generate machine-level instructions for the target computer. Thus specific applications programs for different devices may be generated automatically, e.g. for controlling a particular mini-computer to emulate a desk calculator. Problem Specification.-The ASL comprises two basic categories of words-nouns and verbs and has provision for designating alpha or numeric literals. The nouns include names of activities (to identify a series of statements or instructions), parameter names (containing reference information to another noun or a particular numeric value), condition names and label function names (containing information necessary for addressing functions in the target machine). The verbs indicate an operation with respect to or modified by a noun. The language is such that the various activities required for the particular application and target machine can be represented in a tree structure. The ASL compiler (1) initiates all output files required (activity name, activity library and alpha-literal) and allocates space in core memory for tables; (2) scans ASL statements and generates structure code according to an ASL grammar file. For each new activity named an entry is made in an activity name file, the entry including a pointer to a location in an activity library file where a series of structure code elements (procedures or instructions) that define the activity are stored. The Specification includes details of instruction sequences used by the compiler to add records to, modify records in and generally to maintain the various files. In general terms, the compiler reads the ASL statements one by one from punched cards or magnetic tape and scans the words in each statement to select the appropriate compiler routines. The structure code includes a control identifier indicating the location of instructions in the activity library file, an OP code indicating what actions the code generator has to take to convert the instructions to target machine code, an output file indicator directing the code generator to a specific output file location; a control identifier specifying the location of information items or parameters in files or tables, and the location in the activity name file of the activity name for each group of instructions. Code generator. - Application parameter statements, e.g. specifying functions to be performed in emulating a calculator, are read, e.g. from punched cards and corresponding entries are made in a parameter-condition (Parcon) table after reference to a parameter grammar file. Conversion of the structure code to machine code involves reading activity names from the activity name file, reading the corresponding group of structure code elements from the activity library file, and processing the elements to generate the object code. Activity identifiers are entered in a memory stack preserving the order in which they occur in the tree structure, and the stacked identifiers are used to sequentially access the activity names occurring in each branch of the tree, each name being used to access the activity library file. As each structure code element is accessed, the appropriate instruction sequence for processing the element is selected, based on the OP code of the element. Selection of instruction sequences and modification of various values in the instructions are determined by the contents of the Parcon and other files. Two types of object code record are generated, code format records containing words of object code, and documentation records that contain instructions and error messages for operating the target machine. Both types of records include sort keys for use in sorting records into proper sequence. Finally, a base address table for locating object code instructions within the final object program is formed, relative addresses in the label function table are resolved into absolute addresses and a sort, based on the keys, is performed to load code format and documentation records in correct sequence into respective output files.
机译:1405353数据处理BURROUGHS CORP 1973年7月30日[1973年2月13日] 36146/73标题G4A使用数字计算机从通用解决方案的编码表示形式为目标计算机生成目标计算机的机器级指令程序。定义特定问题的参数和目标计算机的硬件规格。在应用程序规范语言ASL中,将所考虑问题类别的问题结构的描述输入到编译器中,该编译器将描述转换为按活动划分的结构代码,并可以是通用的或特殊的代码生成器用途计算机,使用结构代码和参数为目标计算机生成机器级别的指令。因此,可以自动生成例如用于不同设备的特定应用程序。用于控制特定的小型计算机来模拟台式计算器。问题规范-ASL包括两个基本类别的单词,名词和动词,并规定了字母或数字文字。名词包括活动名称(以标识一系列语句或指令),参数名称(包含对另一个名词的参考信息或特定的数值),条件名称和标签功能名称(包含在目标机器中寻址功能所必需的信息) )。这些动词表示相对于名词或由名词修饰的操作。这种语言使得特定应用程序和目标机器所需的各种活动可以树状结构表示。 ASL编译器(1)启动所需的所有输出文件(活动名称,活动库和alpha-literal),并在核心内存中为表分配空间; (2)扫描ASL语句并根据ASL语法文件生成结构代码。对于每个新命名的活动,在活动名称文件中创建一个条目,该条目包括指向活动库文件中某个位置的指针,该位置存储了定义活动的一系列结构代码元素(过程或指令)。该规范包括编译器用来向各种文件添加记录,修改记录以及通常维护各种文件的指令序列的详细信息。一般而言,编译器从打孔卡或磁带中逐个读取ASL语句,然后扫描每个语句中的单词以选择适当的编译器例程。结构代码包括:控制标识符,指示活动库文件中指令的位置; OP代码,指示代码生成器将指令转换为目标机器代码必须执行的操作;输出文件指示符,将代码生成器定向到特定位置输出文件位置;一个控件标识符,它指定信息项或参数在文件或表中的位置,以及每组指令的活动名称在活动名称文件中的位置。代码生成器。 -应用程序参数声明,例如例如,读取指定在仿真计算器中要执行的功能。参考参数文法文件后,在打孔卡中从“打孔卡”中提取相应的条目并在参数条件(Parcon)表中进行输入。将结构代码转换为机器代码涉及从活动名称文件中读取活动名称,从活动库文件中读取相应的结构代码元素组,以及处理这些元素以生成目标代码。活动标识符输入到存储器堆栈中,以保留它们在树结构中的出现顺序,并且堆叠的标识符用于顺序访问在树的每个分支中出现的活动名称,每个名称用于访问活动库文件。在访问每个结构代码元素时,将根据元素的OP代码选择用于处理元素的适当指令序列。指令序列的选择以及指令中各种值的修改取决于Parcon和其他文件的内容。生成两种类型的目标代码记录,一种是包含目标代码字的代码格式记录,另一种是包含用于操作目标机器的指令和错误消息的文档记录。两种类型的记录都包括用于将记录按正确顺序排序的排序键。最后,形成用于在最终目标程序中定位目标代码指令的基址表,将标签功能表中的相对地址解析为绝对地址,并基于键进行排序以将代码格式和文档记录加载到将正确的顺序插入相应的输出文件。

著录项

  • 公开/公告号FR2288351A1

    专利类型

  • 公开/公告日1976-05-14

    原文格式PDF

  • 申请/专利权人 BURROUGHS CORP;BURROUGHS CORP;

    申请/专利号FR19740004492

  • 发明设计人

    申请日1974-02-11

  • 分类号G06F5/00;G06F13/00;

  • 国家 FR

  • 入库时间 2022-08-23 01:49:26

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号