论文部分内容阅读
本文讨论了采用 PCBASIC 语言调用汇编语言进行实时处理的一种方法。针对高级语言管理接口困难和汇编语言数据处理不便的问题,作者提出利用汇编语言管理接口并实现中断,利用 BASIC 语言处理数据,采用BASIC 与汇编混合编程的方法。该方法发挥了高级语言处理数据与汇编语言管理接口两方面的优势,大大提高了 IBM-PC 实时处理的能力,为 PC 机参与工业实时控制指出了一条途径。
This article discusses a method for real-time processing using the PCBASIC language invocation assembly language. In view of the difficulty of high-level language management interface and the inconvenience of assembly language data processing, the author proposes to use assembly language to manage the interface and interrupt, to use BASIC language to process data, and to use BASIC and assembler to compile programming method. This method has advantages of both high-level language processing data and assembly language management interface, greatly improves the real-time processing capability of IBM-PC and points out a way for PC to participate in industrial real-time control.