ABSTRACT

This chapter discusses programming languages for embedded systems. It also focuses on small-scale, control-dominated embedded systems and interested in high level languages which are supported by compilers for microcontrollers. Most of the high level languages are originally written for purposes completely different from embedded applications. It might therefore seem impractical or even impossible to use such languages with small embedded controllers. The chapter outlines of the major points, an actual C language, SYS51C, for a sequence of examples. A timer example demonstrates the capability of this language to work with interrupt handlers. A keyboard scanner written in C presents a solution for a typical embedded system's entry. The aim of the program 8051 software compatible microcontrollers in high level language C, it must choose a compiler designed for this purpose. The compiler translates programs written in C into machine language which is the only language a microcontroller can understand.