The Realization of HCO Network Operating System with Cx51

Author
ZhouZheng
Advisor
LuYang
School
Hefei University of Technology
Major
Computer Software and Theory
Classification
TP316.8 Network operating system
Degree
Master's thesis
Year
2006
Downloads
24
Citations
0

Request the full text

Abstract

As more and more programmers to develop embedded software using high-level languages ??, with a large number of assembly language development software still needs to constantly upgrade and maintenance , from a long-term perspective , and then modify the original assembler source code , is not a desirable ; at the same time , put aside the original assembler source code , rewrite the software will increase development costs , and extend the development cycle , and it is difficult to guarantee that the new software is able to fully meet the original user needs with a high-level language . Therefore, the use of certain transition rules in the original assembly language source code based on the original assembler source code into high-level language , can save development costs and shorten the development cycle . Convert high-level language to achieve the key research topics for the assembly language source code . Departure from the previous transplant research software , and in accordance with the requirements of software engineering , the paper presents the assembly language source code into high-level language the Keil Cx51 code conversion of four mapping method . Four mapping method consists of two stages and four levels . Phase I: refactoring software data flow and control flow . This phase includes module-level mapping and function - level mapping . The second phase : a high-level language to re-implement the original software , including data structures class map and statement-level mapping . Four every step of the mapping method are strictly in accordance with the requirements of software engineering to improve the conversion after the software module level code reusability , portability and software maintainability , facilitate the achievement of the previous product ported to different hardware platforms . Because the the Cx51 code execution efficiency is slightly lower than the assembly language , and assembly language is converted to a high-level language Cx51 , there are some redundant code , the paper introduced in Chapter optimize the Cx51 code method , to further improve the efficiency of the Cx51 code execution . The data flow and control flow of the the reconstructed HCONET the papers in the last part of the details , and the use of four mapping method successfully HCONET converts assembly language code to Cx51 achieve .

Table of contents

Chapter Introduction 12-16 1.1 topics 12 1.2 HCONET brief introduction 12-13 1.3 related technology research status at home and abroad 13-14 1.4 research objectives and significance 14 1.5 thesis arrangements 14-16 Chapter II HCONET data flow and control flow 16-22 2.1 network the 16-17 2.1.1 HCONET, logical structure 16-17 2.1.2 HCONET level, model 17 2.2 Description the 17-19 2.2.1 HCONET site addressing the frame format 17-18 2.2.2 18 - 19 2.3 protocol process the 2.3.1 protocol data flow nbsp 19-20 ; 19-20 2.4 analog serial 20-22 2.4.1 analog serial data format 20-21 2.4.2 byte bit stream received 21-22 Chapter four mapping method 22-30 3.1 module-level mapping 23-24 3.2 function-level mapping 24-25 3.3 data-level mapping 25-28 the 3.3.1 common data mapping 25-27 3.3.2 registers, mapping 27-28 3.4 statement-level mapping 28-30 3.4.1 statement mapping nbsp the 3.4.2 rules the statement block mapping 28-29 ; nbsp 29-30 Chapter improve efficiency of Cx51 program execution method ; 30-40 4.1 Keil Cx51 compiler optimization settings 31-32 4.2 the Cx51 compiler is the support of the common code optimization technology 32 <br / > 4.3 to improve efficiency in the implementation of the program from the data structure to optimize the angle 32-33 4.3.1 reasonable set the variable type, operation mode can reduce the amount of code 32-33 <br / > 4.3.2 the flexibility to choose the storage type variable and 33 4.3.3 to make use of local function variables 33 4.3.4 efficient use of memory, to improve the efficiency of program execution 33 4.4 from algorithm to optimize the angle to improve the efficiency of the implementation of the program are found; to expand 33-35 4.4.1 circulation, reduce the number of cycles 34-35 4.4 of .2 to reduce the workload of the body of the loop 35 4.4.3 loop variable to use less count 35 4.5 from the point of view of the program design methods to improve the efficiency of the implementation of the program are found; nbsp avoid the use of standard library functions 35-37 4.5.1; 35-36 4.5.2 use global variables instead of the function returns the value 36 4.5.3 on common expressions processing 36 4.5.4 using the the Cx51 class assembly function 36 4.5.5 use the pointer to access the array elements 36-37 4.5.6 selection structure optimization 37 4.6 Other methods 37-40 4.6.1 the space conversion efficiency 37-38 <br / > 4.6.2 mixed programming 38-39 4.6.3 Chapter Summary 39-40 Chapter V the data reconstruction HCONET structure and function modules 40 - 66 5.1 MAC sub-layer design the 40-44 5.1.1 MAC sublayer functionality 40 5.1.2 byte transceiver unit 40-41 5.1.3 frame transceiver unit 41-43 5.1.4 Summary 43-44 5.2 LLC, sub-layer. designed 44 - 52 5.2.1 LLC sublayer functions 44 5.2.2 Information flow control 44-47 5.2.3 Site Manager. 47 - 48 5.2.4 buffer management 48-52 5.3 transport layer design the 52-57 5.3.1 Transport Layer functionality 52 < br /> 5.3.2 path selection algorithm the Station 52-53 5.3.3 Global Address initialization 53 the 5.3.4 data transmission process 53 -57 5.4 NOS sub-layer design the 57-66 5.4.1 NOS sub-layer functionality 57-58 5.4.2 task scheduler 58-61 5.4.3 interrupt management 61-66 Chapter VI Summary and Outlook the 66-68 6.1 work summarizes 66 6.2 exist 66-67 6.3 work outlook the 67-68 Reference 68-70 master's degree during the Post Papers 70

Related dissertations

  1. Design and optimization of multi DSP image fusion
  2. Design and Implementation of the Computer Room Management System of the First Middle School of Baicheng Country
  3. Design and Implementation of Customer-Oriented Sales Process Managemept System
    JiaoQiGuo ·Shandong University ·2013 ·Master's thesis
  4. Research and Application of the New Media Services System Based on Multi-screen Integration
    CaoDanDan ·Donghua University ·2014 ·Master's thesis
  5. The Research and Optimization of Digital Speech Codec Based on C55DSP
  6. Design and Implementation for the Signal Detecting System in Railway Terminal Subsystem
    YangYang ·Lanzhou University ·2012 ·Master's thesis
  7. Research on Some Related Problems about Model-based Diagnosis
    XuPeiZhi ·Jilin University ·2012 ·Master's thesis
  8. Research and Design of Large Scale Video Tran-Scoding Scheduling Algorithm
  9. Design and Application of the Integrated Platfom of the Remote Meter Reading System
  10. The Research on Design and Implementation of the Rural Commercial Bank Credit Management System
    LiKunPeng ·Hunan University ·2012 ·Master's thesis
  11. Design and Implementation of the Rongcheng Yunjian Digital Office Systems
    ZhangJinRong ·Tianjin University ·2012 ·Master's thesis
  12. The Design and Implementation of Coal Mine Safety Supervision and Management System for Weifang City
    XuZhiMin ·Shandong University ·2012 ·Master's thesis
  13. The Design and Implementation of the Audo and Video Resources Shareing System on SSI Framework
    ShenLiHong ·Beijing University of Technology ·2013 ·Master's thesis
  14. Design and Implement Real-time Database and Transaction Scheduling Algorithm Research
    TangZuo ·Harbin Institute of Technology ·2013 ·Master's thesis
  15. Design and Implementation of Agriculture Video-on-demand System Based on J2EE Framework
    LiPeng ·Huazhong Agricultural University ·2013 ·Master's thesis
  16. Analysis and design of auspicious hotel guest room management information system
    ChenCongBing ·Yunnan University ·2012 ·Master's thesis
  17. Research on Transcoding-Resistant Video Watermarking Algorithm
    LiuSong ·Tsinghua University ·2012 ·Master's thesis
  18. Algorithm and Implementation of Logo Insertion Transcoding Based on H.264/AVC
    ChengXiangZuo ·Tianjin University ·2012 ·Master's thesis
  19. H.264 Encoder Optimization Based on TMS320DM642
  20. Research and Implementation of Picture in Picture Algorithm Based on Video Bitstreams
    ZhengHongLei ·Dalian University of Technology ·2013 ·Master's thesis