YoVDO

Advanced C Programming: Integrating C and Assembly Language

Offered By: LinkedIn Learning

Tags

C Programming Courses Assembly Language Courses Low-level Programming Courses

Course Description

Overview

This course shows how to link C and assembly object files, call C functions from assembly code, as well as write assembly inline in a C function.

Syllabus

Introduction
  • Combining C with assembly language
  • Course requirements
1. Assembly Language Overview
  • Controlling the CPU with assembly and C
  • Exploring assembly language
  • Building assembly code
  • Challenge: Build an assembly program
  • Solution: Build an assembly program
2. The Assembly Side of C
  • Viewing C as assembly
  • Choosing C or assembly
  • Challenge: Linking modules
  • Solution: Linking modules
3. C and Assembly Integration
  • Putting assembly language into C code
  • Adding C to assembly
  • Writing inline assembly
  • Challenge: Constructing a dialog
  • Solution: Constructing a dialog
4. Assembly Functions for C
  • Passing arguments in assembly
  • Returning a value in assembly
  • Writing functions that pass and return values
  • Challenge: Random range
  • Solution: Random range

Taught by

Dan Gookin

Related Courses

The Computing Technology Inside Your Smartphone
Cornell University via edX
Computer Architecture
Indian Institute of Technology Madras via Swayam
Computation Structures 2: Computer Architecture
Massachusetts Institute of Technology via edX
Product Design and Manufacturing
Indian Institute of Technology Kanpur via Swayam
Foundations to Computer Systems Design
Indian Institute of Technology Madras via Swayam