首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 109 毫秒
1.
单片机汇编器的设计与实现   总被引:1,自引:0,他引:1  
杨光  冉峰 《微计算机应用》2005,26(2):231-233
单片机开发系统主要由单片机交叉汇编程序和仿真程序两个模块组成,其中单片机交叉汇编程序是由单片机汇编器来实现。本文主要介绍了汇编器设计方法及实现过程,通过运用传统的两遍扫描的算法.并对不同的模块进行了划分和优化。我们可以通过简单的模块改动就能使其应用于不同类型的单片机中。  相似文献   

2.
日本NEC公司内含A/D的μPD7811/7810单片机以其灵活的指令系统,丰富的硬件接口正逐渐被国内单片机用户采用。目前国内尚无此单片机的开发系统,虽然在其它单片机的开发机上稍加硬件便可开发此单片机,但单片机程序必须经手工汇编后,在开发机上打入机器码,然后进行校验和调试,这样不仅所需时间较长,而且在手工汇编和打入机器码的过程中容易出错,给调试程序带来不必要的麻烦。针对这种情况我们在MicrosoitC5.0的支持下,研制了μPD7811/7810单片机交叉汇编程序NEC.ASM。NEC.ASM可由汇编程序源文件产生单片机能执行的机器代码数据文件。一、交叉汇编原理交叉汇编程序是把其它机种的汇编程序按照汇编程序语法的规定进行翻译,然后生成机器语言的一种语言处理程序。主要有三个功能: 1.以数据文件的形式形成汇编语言源程序的机器代码。  相似文献   

3.
分布式处理系统中进程调度的设计   总被引:1,自引:0,他引:1  
文章主要讨论了分布式处理系统中进程调度的设计,以windowsNT为开发平台,给出其实现的主要算法。并着重讨论了进程的同步问题,给出其在IntelCPU机器上实现的部分汇编程序。  相似文献   

4.
近年来,单片机的C语言以其规范和可靠性获得了广泛的普及,但是对于习惯使用汇编语言开发单片机的用户、尚不准备再学习C语言的工程师有没有更好的选择呢?下面介绍的VOLON开发机代表了单片机汇编程序开发系统的最新发展。该软件摆脱了编辑代码的字符风格界面,完全采用Windows的界面风格和鼠标操作模式。不光界面是中文的,甚至汇编程序的标号和注释也是中文的。每  相似文献   

5.
CDAG软件以长城0520机为宿主机,能对任意的微处理器或单片机指令集(机器码)生成反汇编程序。该工具使人们不必对各种类型的微处理器逐个编制交叉反汇编程序,从而丰富了微机开发手段并加速了开发进程。本文给出了该软件的设计思想与结构。  相似文献   

6.
陈燕俐  张晨晖  洪龙 《计算机工程与设计》2006,27(20):3887-3889,3893
通过对指令系统的分析,提出了一种可根据用户提供的机器指令格式、CPU的硬件结构以及操作教寻址方式等信息,自动构造术同的汇编程序的方法,阐述了该方法的设计思想和程序实现.通过该方法生成的汇编程序可正确地完成汇编源程序到目标程序的翻译过程,自动化程度高,提高了软件的生产效率,可用于微机系统汇编程序的自动构造.  相似文献   

7.
近年来 单片机的C语言以其规范和可靠性获得了广泛的普及,但是对于习惯使用汇编语言开发单片机的用户或者尚不准备再学习C语言的工程师来说,有没有更好的选择呢?下面介绍的VOLON开发机代表了单片机汇编程序开发系统的新发展。该系统由软硬件两部分组成,硬件只用于写入芯片,其它功能完全由系统软件完成。系统软件摆脱了编辑  相似文献   

8.
一种基于以太网的嵌入式数字监控系统   总被引:2,自引:2,他引:0  
本文根据监控系统的发展现状,提出了一个基于以太网的嵌入式数字家庭监控系统的设计方案,并初步比较完整的完成了该监控系统的开发.系统采用嵌入式现场监控器进行数据采集,现场监控器由数据采集卡和网络通讯卡组成,现场控制卡负责接收监控中心发出的控制命令,它们都是由一块51单片机控制,其软件开发都是使用了C51和51汇编程序.  相似文献   

9.
本文分析和统计了一个已投入使用的汇编程序,提出一种能够在裸机上较快实现汇编程序的方法——子汇编法。子汇编法允许程序员用汇编语言本身的一个子集编写汇编程序,唯有与该子集相应的子汇编程序才是用机器指令编写的,而子汇编程序的实际长度仅是汇编程序的十分之一左右,其实现方法也远比汇编程序简便得多。  相似文献   

10.
本文提出了一种新型的汇编程序——条汇编程序,同时详细论述了它在MCS-51单片机开发模块上的实现。  相似文献   

11.
12.
13.
本文主要根据目前纸箱内隔板的拼装要求,提供了一种自动拼装机,包含机器的有关机械结构和基于PLC的控制系统的设计.  相似文献   

14.
Production assemblers are often thought of as being useful only for generating machine code from a symbolic assembly language delivered with the system. Most production assemblers that have a macro capability can be used to create an assembler for an arbitrary target machine through the use of the technique discussed in this short communication. This approach has the advantages of quick construction, easy modification and a resulting assembler for the target machine that is nearly as powerful as the original production assembler.  相似文献   

15.
An assembler which provides facilities for programming in assembly language for the Intel 8080A micro-computer is described. This assembler is a single pass self-assembler and it requires a storage of 2K bytes. The assembler has been designed to be operated from a keyboard to develop programs in assembly language. It allows subroutine calls and nesting of subroutines to any depth. It flashes syntax errors, if any, while an instruction is being keyed in. The most important feature of the assembler is that it does not require costly peripherals such as floppy discs, cassette tapes, etc. It operates through a keyboard with letters (A-Z), Arabic numerals (0–9) and some special characters to accommodate mnemonics used in label, opcode and operand fields of programs in the assembly language. A display facility will be greatly helpful. In this paper, design and implementation details of assembler are presented. The authors have the view that assemblers for other micro-computers can be designed and implemented on similar lines. Though implementation may slightly differ from one micro-computer to another, the design details will mostly remain the same.  相似文献   

16.
直接面向可执行程序进行安全漏洞分析时,首先需要得到二进制代码的中间语言表示。探讨了流分析技术在汇编代码理解中的应用,并在Linux平台上实现了一个轻量级汇编代码结构化表示工具BESTAR。该系统利用控制流和数据流分析技术识别通用控制结构,分析程序执行流,重构表达式和函数,发现数据依赖关系,将汇编代码转换成一个结构化、易理解的中间语言程序,为进一步进行安全分析打下了基础。  相似文献   

17.
A peculiar kind of architecture for artificial intelligence systems, or AIA, is presented with the algorithm, an assembler, needed to allocate the physical resources among the well-formed formulas of the prepositional calculus that is its associated language. Such an architecture has been simulated on the 32 Transputers net of the D1S-CSCI, Università di Napoli. Together with AIA, the associated language, and the assembler, we present here the algorithms currently under development: namely a system that exploits AIA as a data-driven, nonaddressable architecture to store selectively in an associative memory only its significant interactions with an unpredictable environment. Because in AIA it is possible to store only the instructions, not the data, and because to do this we need to change the connections between the nodes, the very act of storing means altering selectively some of the previously stored program and thus altering permanently the actual system-environment interactions, i.e., the system learns something.  相似文献   

18.
基于嵌入式系统的交叉汇编器的研究与实现   总被引:2,自引:0,他引:2  
本文论述了一个基于嵌入式系统的GNU交叉汇编器的研究与实现。首先介绍了目标处理器的体系结构,然后分析了GNU汇编器的一些基本数据类型和它的工作机制,最后论述了如何从GNU汇编器移植到目标机为MIPSX处理器的交叉汇编器。  相似文献   

19.
邹耀  刘佩林 《计算机工程》2009,35(1):242-244
针对传统固定指令集处理器的汇编器开发周期长、无法及时适应可配置处理器指令集需求变化的问题,提出一种基于用户描述的可配置汇编器的设计和实现方法,高度抽象汇编器中依赖指令集的部分,通过对指令集高层次描述,快速将指令集的变化映射到汇编器源代码上。实验结果表明,该方法可降低汇编器50%左右的开发工作。  相似文献   

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

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