Font Size: a A A

The Realization Of HCO Network Operating System With Cx51

Posted on:2007-03-18Degree:MasterType:Thesis
Country:ChinaCandidate:Z ZhouFull Text:PDF
GTID:2178360182986590Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
As more and more programmers develop embedded software with high-level language, and previous some software developed with assembly language still need continual upgrade and maintenance, from long-term perspective, modifying assembly source code is not an advisable method. Besides, if the assembly source code was given up, redeveloping the software with high-level language will increase the cost of development and prolong the development cycle;it is hard to assure that the new software meets original user requirement fully. So, beginning with original assembly language source code and translating assembly source code to a high-level language code with certain translation rule can save the developing cost shorten development cycle. Some studies have been done in the dissertation aiming at translating assembly language source code to a high-level language code.From the previous fruit of research on migrating software, and in terms of requirement of software engineering, the dissertation puts forward a four-stage method of translating assembly language source code to high-level language Keil Cx51 code. This method includes two stages and four levels, the first stage: rebuilding data flow and control flow of the software, this stage includes module level mapping and function level mapping. The second stage: rebuilding software with high-level language, this stage includes data structure level mapping and statement level mapping. The four-stage method of mapping which follows the software engineering rules strictly improves software reusability portability and maintainability, realizes the former products porting to another different hardware platform easily.Owing to the efficiency of Cx51 code is low to assembly language code, moreover, there are some redundancy codes after translating from assembly language code, and this dissertation introduces some methods for optimization Cx51 code to improve execution efficiency of Cx51 code.At last, the dissertation successfully translates HCONET assembly language code to Cx51 code with four-stage method of mapping.
Keywords/Search Tags:Keil Cx51, Assembly Language, Data Type, Code Optimization, Functional Module, Code Translation
PDF Full Text Request
Related items