Lecture Notes in Computer Science, 1998, Volume 1543/1998, 580, DOI: 10.1007/3-540-49255-0_168

A Code Generator with Application-Oriented Size Optimization for Object-Oriented Embedded Control Software

Fumio Narisawa, Hidemitsu Naya and Takanori Yokoyama

View Related Documents

Abstract

We have developed an automatic code generator which generates C language code from object-oriented specification diagrams. It reduces the target program size 35% smaller than the size of the program which was simply translated into C++ code. We accomplished this effective optimization by removing some mechanisms of object-oriented programming languages which are unused for our target application, embedded real-time software. Object-oriented programming languages provide many useful features such as inheritances, constructors, destructors, virtual tables and instances. But software of small embedded real-time control systems does not need all of these features, because the end products must be on ROM of one-chip controllers and the runtime behavior of the software is fixed. We remove the unused mechanisms of object-orientation by considering the feature of the target application to reduce the size of the programs.

Fulltext Preview

Image of the first page of the fulltext document