检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:宗德才[1] 王康康[2] ZONG Decai;WANG Kangkang(College of Computer Science and Engineering,Changshu Institute of Technology,Changshu 215500,China;School of Mathematics and Physics,Jiangsu University of Science and Technology,Zhenjiang 212003,China)
机构地区:[1]常熟理工学院,计算机科学与工程学院,江苏常熟215500 [2]江苏科技大学,数理学院,江苏镇江212003
出 处:《微型电脑应用》2022年第10期18-21,共4页Microcomputer Applications
基 金:国家自然科学基金面上项目(61773012)。
摘 要:在TEC-XP16教学机中,已经利用教学机的汇编指令实现了BASIC语言解释执行程序,能够运行BASIC语言程序。为了支持使用更广泛的C语言程序的运行,在BASIC语言解释程序基础上,利用教学机的汇编指令设计C语言解释程序,能够在TEC-XP16教学机上执行C语言程序,能够支持while循环语句、if语句、函数调用,支持按值传递和按地址传递2种函数参数传递方式。在TEC-XP16教学机模拟软件上对C语言程序进行仿真运行,仿真结果表明所设计的C语言解释程序能够支持C语言程序在TEC-XP16教学机上的正确运行。On TEC-XP16 teaching machine,the BASIC language interpretation and execution program have been realized by the assembly instructions of the teaching machine,which can run the BASIC language program.In order to support more widely used C language program,based on the BASIC language interpreter,the C language interpreter that can run C language program on TEC-XP16 teaching machine is designed by assembly instructions of teaching machine.The C language interpreter supports while“loop”statement,“if”statement and function call.It supports two kinds of function parameter transfer methods:value passing and address passing.The simulation results show that the C language interpreter can run C language program on TEC-XP16 teaching machine properly.
关 键 词:TEC-XP16教学机 教学机汇编指令 计算机组成原理 C语言程序
分 类 号:TP332[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.118.126.145