C Programming And Assembly Language
- Offered byNPTEL
C Programming And Assembly Language at NPTEL Overview
Duration | 4 weeks |
Total fee | Free |
Mode of learning | Online |
Official Website | Explore Free Course |
Credential | Certificate |
C Programming And Assembly Language at NPTEL Course details
- For students who complete their bachelors degree (BE/ BTech) in computer science or electrical engineering
- C programming is a general-purpose, procedural programming language widely used for developing system software, applications, and operating systems
- It is known for its efficiency, flexibility, and portability, making it a popular choice for a variety of programming tasks
- The course is free to enroll and learn from. But if you want a certificate, you have to register and write the proctored exam conducted by us in person at any of the designated exam centers
- The exam is optional for a fee of Rs 1000/- (Rupees one thousand only)
C Programming And Assembly Language at NPTEL Curriculum
WEEK 1
Introduction to Microprocessors and Assembly language Programming
Microprocessor Architecture
Machine Language Execution sequence in a MuP
Memory in a microprocessor
Instruction Set
ADDRESSING SCHEMES
MOV
ARITHMETIC AND LOGICAL INSTRUCTIONS
FLAG REGISTER
STACK INSTRUCTIONS
CALL and RET
HARDWARE LOOPS
WEEK 2
Introduction to C and Inline Assembly
Data types and their sizes
Simple examples of Inline assembly
ALU operations
String length
Multiplication using repeated addition
Swap two variables in C
Swap two variables in inline Assembly
Function to swap two variable in C
Inline code to swap the two variables using a function
WEEK 3
Compiling C to Assembly Language
Compiling a simple program to Assembly – first order
Passing parameters
Prologue
Epilogue
Local variables
WEEK 4
C++ and Some special Functions
C and C++ at assembly language level
Recursion vs Loops with factorial as example
Special functions
memcpy
strlen