Diploma in C Programming and Assembly Language | Free Course | Alison
Loading

The New Alison App has just launched 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 course.

Back End Languages
Free Course
This free online course takes you through the basic and in-depth concepts related to C programming and assembly language. By the end of the course, you will be familiar and of course well informed on how function calls are translated to assembly; parameters are passed to a function, local variables are stored on stack and also how these local variables go out of scope after function calls.
  • Duration

    6-10 Hours
  • Certification

    Yes
  • Mobile Friendly

    Yes
  • Publisher

    NPTEL
  • Accreditation

    CPD

Description

Modules

Outcome

Certification

View course modules

Description

The course is about C programming and assembly language. It begins by introducing you to the concept of the 8086 processor architecture (x86 processor), commonly used assembly instructions and use of stack and related instructions. You will learn about the role of a microprocessor and the tasks that can be done by a microprocessor. You will also learn about stack, stack pointer, ALU instructions and some examples of the different types of compilers like GCC compiler, Turbo C compiler, MS Visual C compiler.

The course then explains some ideas on converting C programs to assembly language in an optimized and unoptimized manner. It explains that to optimize an assembly code, so many redundant operations have to be gotten rid of. Also, unless a compiler is used in a particular optimized mode, it may not be possible to always get the most optimized and quickest instruction set in the assembly level. In addition, you will also learn how to make use of the PUSH and POP operations to swap two variables in C.

Finally, the course explains the compilation steps in C programming, how high level function calls are translated into low level assembly instructions using the concepts of prologue and epilogue, and also how variables are passed and assessed in C. You will also learn how  certain C functions are optimized  by exploiting hardware loops, compare the impact of recursion vs loops and finally understand why security of local variables is important.

Start Course Now

Learning Outcomes

Upon successful completion of this course, you will be able to:


  • Explain how function calls are translated to assembly
  • Describe how parameters are passed to a function
  • Explain what it means to say that local variables are stored on stacks
  • Demonstrate how local variables space is allocated
  • Explain what it means to say local variables go out of scope after the function call
  • List out the instructions that need to be executed before entering a function and before exiting it
  • List and explain the various calling conventions for C functions
  • Analyze the difference between C and C++ at assembly level
  • Explain certain hardware instructions to speed up C functions
  • Explain why recursion is not a great idea for repercussion

Certification

All Alison courses are free to enrol, study and complete. To successfully complete this Diploma course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this Diploma course, you have the option to acquire an official Diploma, which is a great way to share your achievement with the world. Your Alison Diploma is:

Ideal for sharing with potential employers - include it in your CV, professional social media profiles and job applications
An indication of your commitment to continuously learn, upskill and achieve high results
An incentive for you to continue empowering yourself through lifelong learning

Alison offers 3 types of Diplomas for completed Diploma courses:

Digital Diploma - a downloadable Diploma in PDF format, immediately available to you when you complete your purchase
Diploma - a physical version of your officially branded and security-marked Diploma, posted to you with FREE shipping
Framed Diploma - a physical version of your officially branded and security-marked Diploma in a stylish frame, posted to you with FREE shipping

All Diplomas are available to purchase through the Alison Shop. For more information on purchasing Alison Diplomas, please visit our FAQs. If you decide not to purchase your Alison Diploma, you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Dashboard. For more details on our Diploma pricing, please visit our Pricing Page.

Careers

    Notification
    You have received a new notification
    Click here to view them all