Alison's New App is now available on iOS and Android! Download Now

Diploma in C Programming and Assembly Language

Learn all you need to know about C programming and assembly language in this free online diploma course.

Publisher: NPTEL
This programming diploma course takes you through both basic and in-depth concepts related to C programming and assembly language. We explain how function calls are translated to assembly and parameters passed to a function. We then show you how local variables are stored on stack and how they go out of scope after function calls. C is a popular and powerful programming language so sign up to add a valuable skill to your professional portfolio.
Diploma in C Programming and Assembly Language
  • Duration

    6-10 Hours
  • Students

  • Accreditation


Share This Course And
Earn Money  

Become an Affiliate Member





View course modules


This programming diploma course begins by laying out the 8086 processor architecture (x86 processor). We then take you through commonly used assembly instructions and explain the use of stack and related instructions. We establish the role and many capabilities of microprocessors. You will also learn about stack, stack pointer and arithmetic-logic unit (ALU) instructions as we examine examples of different types of compilers like the GNU compiler collection (GCC), Turbo C and MS Visual C models.

The course goes on to break down how to convert C programs to assembly languages in either an optimized or unoptimized manner. We explain that many redundant operations have to be removed to optimize a piece of assembly code. Unless a compiler is used in a particular optimized mode, it may not be possible to always find the most optimized and quickest instruction set at the assembly level. We also teach you how to make use of the ‘PUSH’ and ‘POP’ operations to swap two variables in C.

We then go through the compilation steps in C programming. We study how high-level function calls are translated into low-level assembly instructions using the concepts of ‘prologue’ and ‘epilogue’ and how variables are passed and assessed in C. You will also learn how certain C functions are optimized by exploiting hardware loops. Finally, we show you how to compare the impact of recursion and loops to appreciate the importance of local variables’ security. This diploma course helps you master C programming to take the next step in your career

Start Course Now