论文部分内容阅读
一、前言根据“四化”建设的需要和生产的发展以及计算机在生产、科研领域中越来越广泛地应用,最近我国引进的计算机日益增多。因此更好地掌握国外计算机软件技术、反汇编程序实在是必不可少的。在一般的反汇编程序中,通常是针对某一具体机器指令系统作出相应的程序,其特点是针对性强,但缺乏灵活性,一台机器需要一套程序。为此,本文试用产生式系统(Production system)的原理来研究通用的反汇编程序,使其简洁、灵活、易懂,可通用于一般小型计算机。二、产生式系统简介产生式系统通常由下面三个部分组成: 1.一组产生式(即一组规则) 产生式的一般表达形式为α→α。这里α
I. Introduction According to the needs of the “four modernizations” construction and the development of production as well as the increasingly wide application of computers in the fields of production and scientific research, the number of computers introduced in our country has been increasing recently. Therefore, a better grasp of foreign computer software technology, disassembler is essential. In general disassemblers, programs are usually made for a specific machine instruction system and are characterized by their relevance but lack of flexibility. A machine needs a set of programs. Therefore, this paper tries to study the general disassembler by using the principle of production system to make it simple, flexible and easy to understand, which can be applied to general small computers. Production System Introduction Production system usually consists of the following three parts: 1. A set of production (ie, a set of rules) production of the general form of expression α → α. Here α