This paper discusses various aspects of programming in embedded systems using the C and C++ language from an introductory level. The examples are modeled after the Motorola 68XXX family of processors. Concepts discussed include system start-up software, memory organization, hardware interfacing, handling of real time interrupts and object oriented systems examples using C and C++. Also included are techniques for interfacing to a real time operating system for the provision of tasking models, interprocess communication and synchronization, memory management and object-oriented techniques for exploiting them. We explore fundamental concepts of embedded programming discuss issues related to mixed language considerations, efficiency ramifications of using language constructs of C and C++ and practical limitations for embedded systems.

Note: By clicking on the above link, this paper will be emailed to your TechOnLine log-in address by Mentor Graphics.