汇编器在微处理器的验证和应用中举足轻重,如何设计通用的汇编器一直是研究的热点之一。本文提出了一种开放式的汇编器系统设计思想,在汇编语言与机器语言间插入中间代码CMDL(code mapping description language)语言,打破汇编语言与机器语言的直接映射关系,由此建立起一套描述汇编语言与机器语言的开放式映射体系。基于此开放式映射体系开发了一套汇编器系统,具有较高层次上的通用性和可移植性。【关键词】指令集,CMDL,汇编器,开放式 Design of Retargetable Assembler System Liu Ling Feng Wen Nan Wang Ying Chun Jiang An Ping Ji Li Jiu IME of Peking University, 100871【摘要】An assembler plays a very important role in the field of microprocessor verifications and applications, thus how to build a retargetable assembler system has been a hotspot in this field for long time. This paper presents a new method about the retargetable assembler system design.It provides a kind of language CMDL, code mapping description language. During the process of assembling, assembler languages are firstly translated to CMDL, and then mapped to the machine codes. In an other word, CMDL is inserted between assembler languages and machine codes during the translation procedure. As a medium code, CMDL has a lot of features, such as high extraction, strong descript capabilities. It can describe almost all attributes of assembler languages. By breaking the direct mapping relationship between assembler languages and machine codes, the complexities of machine codes are hided to the users, therefore, the new retargetable assembler system has higher retargetable level by converting the mapping from assembler languages and machine codes to assembler languages and CMDL, and implementationof it becomes easier. Based on the new mapping system structure, a retargetable assemblersystem is developed. It proved the whole system has good retargetability and implantability.【关键词】instruction set, symbol table, assembler, lexical analysis, retargetability
上传时间: 2013-10-10
上传用户:meiguiweishi
LTC1732 是LINEAR TECHNOLOGY 公司推出的锂离子电池充电控制集成电路芯片。它具有电池插入检测和自动低压电池充电功能。文章介绍了该芯片的结构、特点、工作原理及应用信息,给出了典型的应用电路。 LTC1732 是LINEAR TECHNOLOGY 公司生产的锂-离子(Li-离子)电池恒流/恒压线性充电控制器。它也可以对镍-镉(NiCd)和镍-氢(NiMH)电池恒流充电。其充电电流可通过外部传感电阻器编程到7%(最大值)的精度。最终的浮动电压精度为1%。利用LTC1732 的SEL 端可为4.1V 或4.2V 电池充电。当输入电源撤消后,LTC1732 可自动进入低电流睡眠状态,以使消耗电流下降到7μA。LTC1732 的内部比较器用于检测充电结束条件(C/10),而总的充电时间则是通过可编程计时器的外部电容来设置的。在电池完全放电后,控制器将自动以规定电流的10%对被充电电池进行慢速充电直到电池电压超过2.457V。当放电后的电池插入充电器或当输入电源接通时,LTC1732 将开始重新充电。另外,如果电池一直插入在充电器且在电池电压降到3.8V(LTC1732-4)或4.05V(LTC1732-4.2)以下时,充电器也将开始重新充电。LTC1732 的其它主特点如下:●具有1%的预置充电电压精度;●输入电压范围4.5V~12V;●充电电流可编程控制;●具有C/10 充电电流检测输出;●可编程控制充电终端计时;●带有低电压电池自动小电流充电模式;●可编程控制恒定电流接通模式;●具有电池插入检测和自动低压电流充电功能;●带有输入电源(隔离适配器)检测输出;●LTC1732-4.2 型器件的再充电阈值电压为4.05V;●LTC1732-4 型器件的再充电阈值电压为3.8V。
上传时间: 2013-11-12
上传用户:semi1981
作者RICHARD CHI-HSI LI,结合自己20年RF设计经验,整理的RF设计技术与经验,工程性很强,从最基本的LNA、MIXERS、差分对等讲起,涉及到阻抗匹配,接地,天线设计,RF系统分析,是一本很不错的书。英文版
上传时间: 2013-10-30
上传用户:ve3344
yright 2002 Cygnal Integrated Products, Inc. // // Filename: LIION_BC_MAIN.c // Target Device: 8051F300 // Created: 11 SEP 2002 // Created By: DKC // Tool chain: KEIL Eval C51 // // This is a stand alone battery charger for a Lithium ION battery. // It utilizes a buck converter, controlled by the on-chip 8-bit PWM, // to provide constant current followed by constant voltage battery charge.
标签: LIION_BC_MAIN Integrated Filename Products
上传时间: 2013-12-23
上传用户:牧羊人8920
Tiny C Compiler - C Scripting Everywhere - The Smallest ANSI C compiler Installation on a i386 Linux host (for Windows read win32/readme.txt) ./configure make make test make install By default, tcc is installed in /usr/local/bin. ./configure --help shows configuration options.
标签: Installation Everywhere Scripting Compiler
上传时间: 2013-12-19
上传用户:zhangzhenyu
数字水印的嵌入和检测,dct, 作者Mao Li Purpose:an algorithm to achieve the embeding watermarking to a image by dct bloking and hvs,then detect the watermarking by comparability.
上传时间: 2015-06-06
上传用户:hullow
DES(Data Encrypton Standard) 算法的实现网上已经有很多,本人在此讲述的是在DES算法加密过程中如何查看16迭代过程中生成的Ki,Li,Ri,Fi,Si等,这样可以当做一个DES加密对照器,这样可以方便的发现你在加密过程中出现的错误!
标签: Encrypton Standard Data DES
上传时间: 2015-06-22
上传用户:zhangliming420
SDL Library Documentation. The SDL library is designed to make it easy to write games that run on Linux, *BSD, MacOS, Win32 and BeOS using the various native high-performance media interfaces, (for video, audio, etc) and presenting a single source-code level API to your application. SDL is a fairly low level API, but using it, completely portable applications can be written with a great deal of flexibility.
标签: Documentation SDL designed Library
上传时间: 2015-06-23
上传用户:nanxia
Building Embedded Linux Systems shows you how to design and build your own embedded systems using Linux® as the kernel and freely available open source tools as the framework
标签: Building Embedded embedded Systems
上传时间: 2014-01-24
上传用户:tianjinfan
用匿名方式登陆一个FTP服务器,下载FTP服务器里的文件到本地。在FTP服务器里应该有一个list.ini文件,里面记录一些相关的信息(版本号,需要下载的文件等)。 程序第一次执行,如果本地没有list.ini文件,则先下载服务器的list.ini文件到本地,然后从本地的list文件中拿到需要升级的文件清单,下载服务器里的相应文件.最后结束自己。以后运行程序,先读取本地文件中的list文件的版本号,再下载服务器的list.ini文件到本地。然后比较版本号,如果有新版本,就从list文件中拿到需要升级的文件清单,下载服务器里的相应文件,最后结束自己。 apple3.exe 是被升级的主程序例子,在程序代码中可选择是否对被升级的主程序进行启动和关闭。 代码中有较详细的中文说明, FTP和读INI文件的类都是用的别人做好的。
上传时间: 2014-01-07
上传用户:wangyi39