C to Assembly Translation

Even though most of Embedded and Realtime programming is now carried out in high level languages, a good understanding of the generated assembly code really helps in debugging, performance analysis and performance tuning.

Here we present a series of articles describing C to assembly translation. We will be analyzing the code generated by a compiler targeting the Motorola 68000 processor family. The concepts learnt here can easily be applied to understand the generated code for any other processor-compiler combination.

In this article, we will discuss the assembly code generated for function calling, parameter passing and local variable management.

View Entire Paper | Previous Page | White Papers Search

If you found this page useful, bookmark and share it on: