首页 | 本学科首页   官方微博 | 高级检索  
   检索      

BASIC 主程序与汇编语言子程序连接的新方法
引用本文:姚旺生,蒋兴舟,陈喜.BASIC 主程序与汇编语言子程序连接的新方法[J].海军工程大学学报,1990(2).
作者姓名:姚旺生  蒋兴舟  陈喜
作者单位:海军工程学院海军兵器工程系,海军工程学院海军兵器工程系,海军工程学院海军兵器工程系
摘    要:本文总结了在实际工作中摸索的 BASIC 主程序与汇编语言子程序连接的新方法。它采用 DEBUG 的 W 命令直接将汇编子程序的机器代码存入磁盘的扇区。再在 BASIC 环境下调用 DOS 中断25H,将汇编子程序机器码装入内存,然后可由CALL 语句或由 USR 函数调用。该方法可以简化 BASIC 主程序和汇编语言子程序的调试和连接过程。

关 键 词:计算机语言  程序连接

A New Method for Linking Main BASIC Program to Assembly Subroutine
Yao Wangsheng Jiang Xinzhou Chen Xi.A New Method for Linking Main BASIC Program to Assembly Subroutine[J].Journal of Naval University of Engineering,1990(2).
Authors:Yao Wangsheng Jiang Xinzhou Chen Xi
Institution:Yao Wangsheng Jiang Xinzhou Chen Xi
Abstract:This article provides a new method for linking main BASIC program to assembly language subrou- tine.By this method,we first store the binary code of assembly language subroutine directly into sectors of a disk,using W-command of DEBUG and then,load the code into the memory using DOS interrup- tion 25H in the BASIC system and lastly,run the subroutine through CALL statement or USR function in BASIC.The method can simply test and link the main BASIC program to assembly language subrou- tine.
Keywords:Computer language  Program link
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号