论文部分内容阅读
本文介绍了适配国产DJS060系列各类简易计算机驻留汇编程序。首先就汇编程序工作方式,汇编语言语法结构等总体设计进行了研究;接着就程序设计中的关键问题,诸如助记符表的设计,汇编控制字的设计、伪指令设置,清单格式设计,以及一遍扫描汇编程序的符号的前向引用问题,都进行了研究,并给出了解决办法。所进行的全部程序设计,都是力求减小对简易机内存的需要,和减少对外围设备要求为出发点,以使程序能在国产所有本系列简易机上进行工作为宗旨。文中给了这方面的大量阐述和说明。本文最后给出了驻留汇编程序的主要程序框图。
This article describes the adaptation of domestic DJS060 series of various types of simple computer resident assembler. First of all, we study on the overall design of assembly language program and assembly language syntax structure. Then, we discuss the key issues in programming such as the design of mnemonic symbols, the design of assembler control words, the design of directives, the design of manifests, The problem of forward reference to the symbols scanning the assembler has been studied and solutions have been given. The entire program design, are sought to reduce the need for simple machine memory, and reduce the requirements for peripherals as a starting point, so that the program can be made in China all the simple series of machines for the purpose of work. The article gives a lot of elaboration and description in this area. At the end of this paper, the main block diagram of resident assembler is given.