Technology, Data and Science

Advanced C Programming: Integrating C and Assembly Language

Instructor: Dan Gookin

Though a C compiler is efficient, it’s possible to work with both C and assembly, enjoying the speed of assembly with the lower development time of C. In this course, instructor Dan Gookin teaches you how to link C and assembly object files, call C functions from assembly code, as well as write assembly inline in a C function. Dan starts by explaining how to acquire an assembler and run C and assembly programs. He discusses how integrating C and assembly language can improve your coding skills and program performance. He walks you through how to create a program in assembly by processing the proper steps: assemble, link, and run. Dan shows you how the compiler translates C instructions into assembly and how to optimize your C code by using assembly to target bottlenecks. He goes over how to join assembly code with C code, as well as how to use C language functions in assembly code. In conclusion, Dan explains how to use assembly functions for C.

Learn More