匯編器在微處理器的驗證和應用中舉足輕重,如何設計通用的匯編器一直是研究的熱點之一。本文提出了一種開放式的匯編器系統設計思想,在匯編語言與機器語言間插入中間代碼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