首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 156 毫秒
1.
汇编语言是面向机器的语言,具有高级语言无法比拟的优点,它可以直接控制计算机硬件,容易产生高效率的目标程序.通过利用Windows操作系统提供的多任务的图形界面工作环境,借助于其中包含的动态函数库,讨论了32位汇编语言程序设计方法.  相似文献   

2.
如何编写C-51与汇编语言接口程序(100037北京轻工业学院自动化系)魏世萌C-51是一种可直接访问MCS-51系列单片机硬件资源的嵌入式C语言,它不仅具有C语言结构化程序设计和功能丰富的库函数等高级语言特性,而且还可以与汇编语言混合编程,使高级语...  相似文献   

3.
汇编语言与C语言的混合程序设计技术   总被引:4,自引:2,他引:4  
讨论汇编语言与C语言的混合程序设计技术。在大规模的程序设计中,汇编语言程序与高级语言程序相结合,充分发挥各自的优点,实现两种语言之间的混合编程,是解决实际问题的有效方法。在实际的程序设计中,C语言主程序可以调用汇编语言子程序,汇编语言主程序可以调用C语言子程序,也可以在C语言程序中嵌入汇编语言语句。在汇编语言与C语言的混合编程中,参数的传递、模块的连接以及调用关系的确定是值得注意的关键问题。  相似文献   

4.
讨论汇编语言与C语言的混合程序设计技术。在大规模的程序设计中,汇编语言程序与高级语言程序相结合,充分发挥各自的优点,实现两种语言之间的混合编程,是解决实际问题的有效方法。在实际的程序设计中,C语言主程序可以调用汇编语言子程序,汇编语言主程序可以调用C语言子程序,也可以在C语言程序中嵌入汇编语言语句。在汇编语言与C语言的混合编程中,参数的传递、模块的连接以及调用关系的确定是值得注意的关键问题。  相似文献   

5.
汇编语言是计算机能够提供给用户使用的最快而又最有效的语言,也是利用计算机所有硬件特性并能直接控制硬件的唯一语言。本文主要介绍汇编语言的特性,汇编语言和机器语言、高级语言的关系。汇编语言程序设计的应用非常广泛,汇编语言可以应用在发声系统中。  相似文献   

6.
刘清 《计算机科学》1989,16(5):76-79
一、概述按照人们的常规,程序设计语言是指计算机能直接执行的机器语言、汇编语言以及其它高级语言,用这些语言描述问题求解的算法,机器能直接执行,并给出问题的解答。近年来计算机领域里提出的时态逻辑是具有强时态语义的语言,它也可让计算机直接执行,因  相似文献   

7.
“汇编语言程序设计”的比较教学法   总被引:3,自引:1,他引:2  
熊小兵 《计算机教育》2010,(3):147-149,133
基于比较教学法的优势,文章从数据安排、数据处理、流程控制、子程序结构等程序设计的基本方面对汇编语言和高级语言中的相关机制作了对比分析,提出了"汇编语言程序设计"比较教学的基本思路。  相似文献   

8.
C++语言在数控系统运动程序设计中的应用   总被引:1,自引:0,他引:1  
任思琪 《福建电脑》2012,28(5):129-130,170
C++是一门高效实用的程序设计语言,它既可进行过程化程序设计,也可以进行面向对象程序设计,强调对高级抽象的支持,C++程序加入到整个控制系统软件中,在伺服控制调用时就可以驱动工作台运动,加工出编程轨迹零件来。  相似文献   

9.
柴孝 《信息与电脑》2011,(11):181-182
一般在较大的程序设计当中,如果把汇编语言与高级语言程序结合起来使用,把两种语言的优点都发挥出来,充分利用两种的优势,进行混合编程,则可以很多的难以解决的难题。在程序设计的实践当中,C语言和汇编语言可以相互调用,C语言可以调用汇编语言,汇编语言可以调用C语言,也可以把其中一种语言程序嵌入到另一种程序语言当中。本文就是探讨把C语言与汇编语言两种语言进行混合编程,实现两者的最佳组合,从而解决一些实践难题。  相似文献   

10.
汇编语言与C语言的接口技术   总被引:1,自引:0,他引:1  
汇编语言没有高级语言要占用较大的存储空间和较长的运行时间等缺点 ,它的运行速度快是高级语言所不能比拟的。可以说高级语言与汇编语言各有千秋。有时我们采用高级语言编程速度达不到要求 ,全部采用汇编语言编程工作量又大 ,此时可以采用“混合”编程 ,彼此相互调用 ,进行参数传递 ,共享数据结构及数据信息 ,是一种有效的编程方法。这种方法可以发挥各种语言的优势和特点 ,充分利用现有的多种实用程序、库程序等使软件的开发周期大大缩短。1 高级语言与汇编语言的接口需要解决的问题   1、需要说明和建立调用者与被调用者间的关系被调…  相似文献   

11.
FOXBASE、汇编及各种高级语言各有所长,如采用FOXBASE与其他语言混合编程就可以兼得双方之长,继承优秀软件成果,充分利用软硬件资源。本文综述了FOXBASE与高级语言、汇编语言的混合编程技术,以及它们之间的数据通讯方法。阐明了高级语言程序、宏汇编程序如何调用FOXBASE程序;FOXBASE又如何调用宏汇编和C语言程序;FOXBASE和高级语言在文本文件和桥的基础上如何互相通讯;高级语言如  相似文献   

12.
C语言是目前最流行的计算机语言之一,它兼有传统高级语言和汇编语言的优点,概念简洁,风格灵活,内涵相当丰富。要真正掌握该语言的精髓和理解其语义并非易事。本文对C语言的语义特点作了深入探讨,并给出了一些重要概念,最后,列举了若干在编程中的常见错误。  相似文献   

13.
The author takes us back to the days when assembly language programming was still a large part of the computing scene with a story of how the user group Share influenced IBM on assembly languages just when the company had decided to concentrate on the new high-level languages  相似文献   

14.
Scientific computing is usually associated with compiled languages for maximum efficiency. However, in a typical application program, only a small part of the code is time-critical and requires the efficiency of a compiled language. It is often advantageous to use interpreted high-level languages for the remaining tasks, adopting a mixed-language approach. This will be demonstrated for Python, an interpreted object-oriented high-level language that is well suited for scientific computing. Particular attention is paid to high-level parallel programming using Python and the BSP model. We explain the basics of BSP and how it differs from other parallel programming tools like MPI. Thereafter we present an application of Python and BSP for solving a partial differential equation from computational science, utilizing high-level design of libraries and mixed-language (Python–C or Python–Fortran) programming.  相似文献   

15.
In recent years, considerable effort has been devoted to developing and extending programming languages for manipulation of computer-controlled robotic arms for various tasks. The present trend is to develop high-level languages that simplify the programming task so that they can be used by a less well-trained person with ease and speed. In this article, the information required for assembly is examined and a construct of a new computer language is proposed. An example of a computer program using the proposed language for assembling a pencil sharpener is given. This program is compared with similar program written in another language currently being developed and extended.  相似文献   

16.
Batson  A. 《Computer》1976,9(11):21-26
No application programmer writes machine-language programs–i.e., strings of ones and zeroes. That primitive pursuit has long been reserved for those few who create the very first modules of a software system for new hardware. Instead, programmers make use of a wide spectrum of symbolic programming languages, ranging from assembly code to high-level languages such as Fortran, Cobol, and the Algol family. Every programming language has semantics which define some abstract machine. For the assembly-language programmer this machine bears a great resemblance to the actual hardware on which the program will be interpreted, but even here the programmer will frequently use system-defined subroutines or macros which represent extensions of the base hardware facilities. The high-level language programmer's abstract machine reflects the control mechanisms and data structures characteristic of the language. The Fortran programmer, for example, can think in terms of multidimensional array structures, DO loops, subprogram facilities, and so on. In principle he need never be concerned with the manner in which his abstract Fortran machine is to be realized by a particular hardware and software system. The user of a modern electronic hand calculator needs no knowledge of the works inside the box, and a modern high-level language system should present to its users an equally consistent environment, completely defined in terms of the syntax and semantics of the source language.  相似文献   

17.
采用Win32汇编语言实现了一个基于TCP/IP协议的网络通信功能。程序开发及运行结果表明,与传统汇编相比,在Windows操作系统下的Win32汇编具有高级语言的优点,能够以最灵活的方式调用系统封装函数,软件开发效率大为提高;与高级语言相比,Win32汇编应用程序占用内存资源少,运行速度快,保留了传统汇编的优点。  相似文献   

18.
Jiri Hoppe 《Software》1980,10(9):697-706
A simple nucleus for a single-processor computer is considered. The entire nucleus program is written in the high-level programming language Modula-21 without assembly coding. The concepts of the nucleus and some simple applications are described. A complete listing of the nucleus is included. We conclude that programming of a nucleus in an appropriate high-level language is simpler than in an assembly language. The resulting nucleus has a comparable performance with other nuclei written in assembly code.  相似文献   

19.
A reversible programming language supports deterministic forward and backward computation. This tutorial focuses on a high-level reversible programming language Janus. In common with other programming paradigms, reversible programming has its own programming methodology. Janus is simple, yet powerful, and its constructs can serve as a model for designing reversible languages in general.  相似文献   

20.
汇编语言介于低级语言与高级语言之间的一种缡程语言,是能够利用计算机所有硬件特性并直接控制硬件的唯一语言。是计算机原理、操作系统、计算机接口等核心课程的先修课。而且对于训练学生掌握程序设计技术,熟悉上机探作和程序调试都有重要作用。但对于目前职业院校学生来说,普遍感到非常陌生,指令极为枯燥、抽象,难于掌握,部分职业院校甚至采取压缩、取消该课程,这样一来.就使的培养出来的计算机类学生缺乏对计算机系统的全面了解。经过多年的职业院校教学的经验,下面就磷谈《汇编语言程序设计》课程开展的教学体会。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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