匯編器在微處理器的驗證和應用中舉足輕重,如何設計通用的匯編器一直是研究的熱點之一。本文提出了一種開放式的匯編器系統設計思想,在匯編語言與機器語言間插入中間代碼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
51單片機及其應用:1.1.1 電子計算機的問世及其經典結構1946年2月15日,第一臺電子數字計算機問世,這標志著計算機時代的到來。(CALCULATOR)ENIAC(“埃尼阿克”)◆ENIAC是電子管計算機,時鐘頻率僅有100 KHz,但能在1秒鐘的時間內完成5000次加法運算。◆與現代的計算機相比,有許多不足,但它的問世開創了計算機科學技術的新紀元,對人類的生產和生活方式產生了巨大的影響 。 匈牙利籍數學家馮·諾依曼在方案的設計上做出了重要的貢獻。1946年6月,他又提出了“程序存儲”和“二進制運算”的思想,進一步構建了計算機由運算器、控制器、存儲器、輸入設備和輸出設備組成這一計算機的經典結構。(EDVAC-ELECTRONIC DISCRETE VARIABLE AUTOMATIC COMPUTER)二、微型計算機的應用形態 從應用形態上,微機可以分成三種:
標簽: 51單片機
上傳時間: 2013-12-20
上傳用戶:d815185728
隨著 微 電 子技術的飛速發展,電子產品越來越微型化,集成化,自動化,低廉化,進而推動著其它許多產業的發展。特別進人21世紀以來,生物技術與電子技術的結合,成為高科技領域的研究熱點。199()年由瑞士的Manz和Widmer首先提出的“微全分析系統”〔’〕(microto talan alysissy stems,即ptTAS),通俗地稱為“建在芯片上的實驗室”(Lab on a chip)或簡稱芯片實驗室(Lab chip),主要組成部分為電泳芯片,同時是進樣,分離和檢測為一體的微型裝置,其在電泳實驗中的高效檢測性能為生物化學分析儀器發展提供了一種借鑒。p.TAS廣泛應用于生物醫學、環境檢測、食品衛生、科學以及國防等眾多領域。目前 應 用 的大多為多通道的毛細管電泳芯片,這也是芯片發展的一個必然趨勢。這不僅對電泳芯片本身的設計和制作提出了更高的要求,也對傳感器和數據處理技術提出了新的挑戰。考慮成本,集成度,控制能力以及可靠性方面的因素,本系統采用單片機作為實時數據處理、控制以及通訊的硬件平臺。如果系統中既有實時的通信任務,同時又有其他實時任務,采用一個廉價的單片機,資源會比較緊張,不僅實現困難,結構復雜,而且效果可能不滿意。而采用高性能的處理器,又浪費了其有效資源,所以本系統采用兩個MCU協同工作,以并行/分布式多機的思想,構成了電泳芯 片核心的雙單片機系統結構。微全 分 析 系 統 進行的多項實時任務,可以劃分為以下 幾個模塊:①采集模塊。負責對外圍檢驗設備進行控 制以及對傳送過來的信號進行采集和分析;②交互模 塊。通過液晶顯示,鍵盤掃描,以及打印等實現實驗人 員對前端采集電路的交互操作;③雙單片機控制和通 信模塊。協調雙單片機之間的數據傳輸和指令傳輸 ;④網絡傳輸模塊。其中一個單片機通過以太網發送接 收數據到上位機。本文提出一種實時多任務的雙單片 機控制和通信系統[31的設計,一個MCU基于TCP /IP網絡模塊的實現。
上傳時間: 2013-11-15
上傳用戶:wangdean1101
設計一種應用于某全地形ATV車載武器裝置中的中控系統,該系統設計是以TMS320F2812型DSP為核心,采用模塊化設計思想,對其硬件部分進行系統設計,能夠完成對武器裝置高低、回轉方向的運動控制,實現靜止或行進狀態中對目標物的測距,自動瞄準以及按既定發射模式發射彈丸和各項安全性能檢測等功能。通過編制相應的軟件,對其進行系統調試,驗證了該設計運行穩定。 Abstract: A central control system applied to an ATV vehicle weapons is designed. The system design is based on TMS320F2812 DSP as the core, uses modular design for its hardware parts. The central control system can complete the motion control of the level of weapons and equipment, rotation direction, to achieve a state of static or moving objects on the target ranging, auto-targeting and according to the established target and the projectile and the launch of the security performance testing and other functions. Through the development of appropriate software and to carry out system testing to verify the stability of this design and operation.
上傳時間: 2013-11-02
上傳用戶:jshailingzzh
介紹了SCADA系統中交流采樣器的功能,提出了基于DSP技術和CAN總線的系統構架,詳細闡述了系統的硬件和軟件設計方法,探討了一種基于消息的嵌入式系統程序設計思想,最后給出了設計結論。
上傳時間: 2014-01-05
上傳用戶:box2000
介紹了應用VHDL技術設計嵌入式全數字鎖相環路的方法。詳細描述了其工作原理和設計思想,并用可編程邏輯器件FPGA加以實面。
上傳時間: 2014-12-28
上傳用戶:ruixue198909
本系統融合了傳感器技術、物聯網技術、3G通信技術,針對目前城市建筑照明管理方式單一、非智能化、布線復雜及維護困難的現狀,提出了基于物聯網技術的建筑照明智能無線控制方案。方案按照分層軟硬件設計思想,采用終端層、電控柜主節點層和服務器層的三層結構進行設計,將ZigBee技術、2.5G/3G通信技術與Internet Web技術可靠的融合到整個系統開發過程。系統在有效網絡編址基礎上,提供1/2、1/3等控制模式和按地球經緯度控制模式,實現了節能。
上傳時間: 2014-12-28
上傳用戶:xy@1314
無線傳感器網絡是一種應用相關的網絡。不同的應用背景需求不同的無線傳感器網絡節點。硬件的相關性太強不利于向其他平臺移植。為解決該問題,利用硬件的模塊化的設計思想,我們設計了一種開放的可擴展的無線傳感器網絡節點平臺。該平臺以MSP430F5438微處理器作為主控芯片,以CC2420作為射頻控制芯片。實驗證明該平臺具有低功耗、開放式以及可擴展等特點。
上傳時間: 2013-11-08
上傳用戶:fklinran
為提升虛擬儀器傳輸速率與實時性能,擴展監測范圍,在VC的軟件平臺上設計了一種全功能虛擬示波器。與傳統虛擬示波器相比,該系統采用嵌入式系統完成信號采集,采用工業以太網為傳輸介質,通過線性插值算法和多線程編程思想,實現波形顯示、參數計算、頻譜分析以及波形存儲及回放功能。實驗結果表明,該虛擬示波器可以實現20 kHz采樣頻率下的波形精確顯示,達到預期的各項指標。 Abstract: o enhance the transfer rate and real-time of virtual instrument performance, expand scope of monitoring, this paper uses the VCs software platform to design a fully functional virtual oscilloscope. Compared with traditional virtual oscilloscope, this system adopts the embedded system to complete the data acquisition, industrial Ethernet as the transmission medium used by the linear interpolation algorithm and multi-threaded programming ideas, namely to achieve waveform display, parameter calculation, spectrum analysis and waveform storage and playback. Experimental results show that the virtual oscilloscope can accurately display the waveform with 20kHz sampling frequency, and achieve the desired targets.
上傳時間: 2013-11-25
上傳用戶:wbwyl
本文主要介紹C#的核心原理與編程思想,
上傳時間: 2013-11-22
上傳用戶:a471778