共查询到19条相似文献,搜索用时 115 毫秒
1.
孙文杰 《电脑编程技巧与维护》1996,(12):50-52
一、子程序(过程)设计 上一讲讲述了循环程序的设计方法。从循环程序中看到,反复利用一段程序进行计算或处理可以提高工作效率。但有些问题虽然有重复计算的工作,确很难用循环程序来实现。如某个程序中在不同的点上都需要执行一段特定的程序,不能用循环指令来实现,然而可以把这段程序抽出来,用于程序的方法来编程,当程序需要用该段程序时就调用该子程序。执行完该子程序后再返回到主程序。 相似文献
2.
3.
C语言调用汇编语言子程序的研究与实践 总被引:1,自引:0,他引:1
李文兵 《微小型计算机开发与应用》1995,(3):37-43
本文介绍了被C调用的汇编语言子程序的格式,及其如何接受C程序传递给的参数值和怎样返回其返回值。在此基础上,文中详细分析了C调用汇编语言子程序的过程,最后给出了实现步骤及实例。 相似文献
4.
5.
6.
7.
阐述了独立学院开设微机原理与汇编语言课程的重要性,以及授课过程中采用的多媒体技术、对比教学、分组讨论等授课技术.作者根据其授课经验提出改进的授课技巧,以提高教学效果和学生的学习兴趣、加强学生分析问题和解决问题的能力,同时对教材的选择及课程的考核方式进行研究,提出具有可行性的考核方式. 相似文献
8.
结合多年的汇编语言教学实践,从联系计算机基础知识、对比高级语言知识点、避免强调语法细节和加强实践环节实用化这四个方面,总结了提高汇编语言课程教学效果的若干经验及做法,从而改进了汇编课程难学的状况,有效提高学生使用汇编语言进行程序开发的能力,取得了较好的教学效果。 相似文献
9.
《汇编语言程序设计》和《微机原理》是计算机专业及相关学科方向的传统基础课,二门课程都从不同侧面对计算机的组成与工作原理、汇编语言源程序设计以厦与外部设备的接口问题进行了讲述。本文就在课程改革的大环境下,将二门课程合并的必要性进行了探讨。 相似文献
10.
本文就汇编语言程序设计提出了相应的教学体会,强调了汇编语言的重要性,分析了教学中出现的问题,目的提高汇编语言程序设计的教学质量。 相似文献
11.
汇编语言作为一种面向机器的语言,具有占用存储空间小、运行速度快的优点,并可直接控制硬件,在某些场合具有重要的作用;然而,汇编语言的编写和调试却相对困难和复杂,在进行数值混合运算与数据处理上尤为突出。C语言具有开发效率高,功能丰富、使用灵活、表达能力强的优点。在软件开发中,采用汇编语言与C语言混合程序设计技术,能有效提高运行效率。笔者结合自身工作经验,具体探讨了这一混合程序设计技术,希望能为广大同行提供借鉴。 相似文献
12.
To improve the efficiency and controllability of our previous proposed cross-category product assembly line, we design an assembly language (A-code) to express a product's assembly process. We further develop an IDE to describe assembly processes as statements, which are organized according to predefined syntax as an A-code file. The interpreter translates statements into executable low-level commands. In addition, a four-layer architecture of the A-code assembly system (ACAS) is proposed to implement this language, thus an A-code files can be run on the assembly line physically. The proposed ACAS can reconfigure each unit for specific products, and control their assembly processes. The expressivity of this language is validated in two assembly cases, a simple shuttle valve and a complex relief valve. The functionality and feasibility of this system are tested by assembling 50 relief valves. The results demonstrate our ACAS can perform complex assembly tasks in a more efficient way. 相似文献
13.
14.
《Journal of Microcomputer Applications》1992,15(3):267-278
A number of microcomputer and microcontroller applications have small production runs or require quick prototyping to allow for concurrent development of other parts of the system which depend on functional, if not final, code. In these cases, the ease, speed, and reduced errors associated with coding the operating program in a high-level language justify its usage. The reduction in non-recurring engineering costs more than compensates for the increased recurring product costs and therefore makes sense from a total cost perspective. A model of the software design cycle is introduced here which considers software development as starting at the highest language level possible and only those sections of code which require streamlining for reasons of increased execution speed or reduced program storage being re-coded into assembly language. Examples are given of how to use the C language to directly address hardware components and memory and how to effectively link assembly language and C into a single functional program. 相似文献
15.
To improve experiment management, we developed a microcomputer system which automatically displays, collects, manipulates and stores data in real-time. Upon completion of all experiments, it automatically performs statistical analysis, prints graphs and stores the results. The components required to accomplish these tasks include: (1) a microprocessor and visual monitor; (2) transducers, each with preamplifier, filter and amplifier; (3) couplers from each amplifier to the computer; (4) software to direct display, manipulation, statistical analysis and storage of data; and (5) hardware to allow real-time graphic and hard copy display. The resulting system allows sampling rates up to 300 Hz and accuracy of 0.20% full scale, 0-200 mm Hg. It provides great flexibility, efficiency and reliability in data management, and thereby facilitates the organization and completion of research protocols. It simplicity of design and operation makes it easy to use, and it is extremely cost effective. We present a method of laboratory microcomputerization as a practical alternative for management of physiological experimentation. 相似文献
16.
17.
This paper presents the results of a study of the software complexity characteristics of a large real-time signal processing system for which there is a 6-yr maintenance history. The objective of the study was to compare values generated by software metrics to the maintenance history in order to determine which software complexity metrics would be most useful for estimating maintenance effort. The metrics that were analyzed were program size measures, software science measures, and control flow measures. During the course of the study two new software metrics were defined. The new metrics, maximum knot depth and knots per jump ratio, are both extensions of the knot count metric. When comparing the metrics to the maintenance data the control flow measures showed the strongest positive correlation. 相似文献
18.
分析了当前微机原理实验教学中存在的问题,结合电子信息专业及学科建设,提出以培养学生动手能力和创新能力为目标的微机原理实验教学改革方案。将Emu8086和Proteus引入实验教学,对教学实验平台、教学方法、实验内容进行改革探索。该方案软硬结合,循序渐进。在提高实验教学质量,培养学生发现问题、解决问题,以及培养其创新能力方面起到重要的作用。 相似文献