CSC111 - Assembly Language Programming

Hofstra University, Spring 2026

Instructor: Zonghua Gu

Lectures

Date

Lecture Notes

Useful Links

W1

L0 course overview, PPTX, PDF

L0.1 Why Learn Assembly, PPTX, PDF

Ch1 See Program Running, PPTX, PDF

L0 Quiz, ANS

Free course on ARM Assembly, also available on YouTube. It is based on https://cpulator.01xz.net/?sys=arm. CPUlator Tutorial, Quick Reference

W2

Ch2 Data Representation PPTX, PDF

Ch2 Data Representation Exercises PPTX, PDF, Solution PPTX, PDF

Ch2 Quiz, ANS

Two's Complement Calculator

RapidTables Number Converter

W3

Ch3 ARM ISA PPTX, PDF

Ch3 Quiz, ANS

W5-6

Ch4 ARM Arithmetic Logic PPTX, PDF

Ch4 ARM Arithmetic Logic Exercises PPTX, PDF, Solution PPTX, PDF

Ch4 Quiz, ANS

 

W5

Ch5 ARM Load Store PPTX, PDF

Ch5 ARM Load Store Exercises PPTX, PDF, Solution PPTX, PDF

Ch5 Quiz, ANS

 

W9

Midterm Exam: TBD

Sample Exam Questions

Fall 2025 Midterm Exam, Answer Key

 

W10

Ch6 ARM Control Flow PPTX, PDF

Ch6 ARM Control Flow Exercises PPTX, PDF, Solution PPTX, PDF

Ch6 Quiz, ANS

 

W11

Ch7 Structured Programming PPTX, PDF

Ch7 Quiz, ANS

 

W12-14

Ch8 ARM Subroutines 1 Parameters Registers PPTX, PDF

Ch8 ARM Subroutines 2 Stack Preserve Environment PPTX, PDF

Ch8 ARM Subroutines 3 Stack Recursive_Call PPTX, PDF

Ch8 ARM Subroutines Exercises Solution PPTX, PDF

Ch8 Quiz, ANS

 

 

Ch9_64_bit_data_processing PPTX, PDF

Ch9 Quiz, ANS

 

 

Ch11_Interrupt_1_Introduction PPTX, PDF

Ch11_Interrupt_Tutorial PPTX, PDF

 

 

Ch12_13_Fixed_Floating_Point_Numbers PPTX, PDF

Exercises Solution PPTX, PDF

Ch12-13 Quiz, ANS

Base Convert: IEEE 754 Floating Point

W14

Ch16_Timer_PWM PPTX, PDF

Ch16_Exercises Solution PPTX, PDF

Ch16 Quiz, ANS

 

 

Chxx_Review PPTX, PDF

Final Practice Exam

Cheat Sheet (I will print and give to you at exam time)

Lockdown Browser Setup

Final Exam: TBD

 

ARM Instruction Reference, PPTX, PDF

ARM Common Instructions

ARM Instruction Set Quick Reference Card

ARM v7-M Architecture Reference Manual


* Slides subject to change. Please download the latest version after class.

* Lectures: SIC 126 TR 9:40 AM-11:05 AM. Office hours: SIC 219 TR 4:05 PM-6:00 PM

* Ref book: Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C, University of Maine https://web.eece.maine.edu/~zhu/book, short video lectures

* Introduction to ARM by David Thomas

* ARM assembler in Raspberry Pi

* Discord channel: https://discord.gg/S9bdAhq5za

* Samson Mathew (Tutor) tutor hours: Fri 10 AM - 12 PM, by Zoom. You can find him in Discord, or by email smathew5@pride.hofstra.edu.

Lab Sections

Assign Date

Assignment

Due Date

01/27

Lab0. QEMU and Raspberry PI Setup

Lab Report Template (5 pts)

02/13

01/27

Lab1 HelloWorld, DOCX(easier to copy code from DOCX) (5 pts)

03/13

01/27

Lab2 GCD (10 pts)

04/10

01/27

Lab3 Cocktail Sort, bubblesort.s, main.c (10 pts)

05/08


Anonymous feedback