Save this video free

EECS 373 - Fall 2026 - Lecture 3: Toolchain & ABI

Interactive Sensing and Computing Lab · 49:14 · Watch on YouTube

Part of University of Michigan EECS 373. See all 17 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

The lecture explains how the GNU ARM toolchain turns C, assembly, and object files into executable images, then uses assembly examples to show how directives, labels, and memory addresses are resolved. It presents the ARM Application Binary Interface as a contract for function calls, including register responsibilities, argument and return locations, stack behavior, and preserving the link register during nested calls.

Key takeaways

Chapters

0:00 Lab Logistics and Embedded Battery Safety
5:12 From ARM Assembly to the GNU Toolchain
9:36 Assembler Directives, Labels, and Immediate Values
16:32 Tracing Data Loads, Branches, and the Example Loop
25:05 AAPCS Function Arguments, Return Values, and Scratch Registers
32:08 Callee-Saved Registers and the ARM Link Register
34:47 Tracing an ARM Function Call and Return
40:36 Protecting Registers with ARM Stack Push and Pop
45:18 Nested Calls Preserve LR, Then Review Toolchain and ABI

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 We're going to be talking about tool chain and the application binary interface. So, homework one was due yesterday. Uh today you can do uh submit it late for five or 10 point penalty or 10% penalty. Homework two has been posted and is due next week. Um and then we finally got um room assignments for our midterms and our team formation event. And you won't remember and I I'll remind you later, but uh we'll have a list that defines which people go to which room when it's exam day. I think it's already on the the website. But those are the logistics. Any logistics questions before we begin? Nope. All right. So, talk about uh component of the day I like this be just because it gives

0:47 people a breath of a lot of the knowledge that we just kind of assume students know. And then maybe some of the students know it and some of the students don't. So, um a lot of times we think about batteries from the consumer side where it's just these like predefined nickel metal hydrides, they're super safe. They have the same everything is about the same voltage based on 1.5 volts. And they're just kind of like plug and play. When you get to the embedded systems world, you have a lot more choices and usually it's in these uh packs and pouches where you're trying to optimize uh your battery performance for your particular device. And so now you got to think about things like runtime and current draw and rechargeability. And of course, one of the key metrics is voltage, but now you stop to start thinking about capacity. And they don't you would think that they would talk about capacity in terms of like energy

1:33 or maybe runtime, but instead they they

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Interactive Sensing and Computing Lab.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.