CSCI 224: Assembly Language Programming
Course Agenda (Fall 2026)
| Class | Date | Topics covered in class |
|---|---|---|
| 1 | Wed 9/2 | Getting started: syllabus, grading policy, course outline, online services, submission of assignments, place of assembly language, binary representation of integer numbers, converting integers from decimal to binary and back. |
| 2 | Fri 9/4 | Binary representation of signed integer numbers, sign extention of numbers, the hexadecimal system, converting numbers between binary and hex, addition in binary system, representation of characters with ASCII codes, null-termitated strings, general structure of assembly code. |
| 3 | Mon 9/7 | No class (Labor day) |
| 4 | Tue 9/8 | Lab 1: Getting started with Keil μVision IDE |
| 5 | Wed 9/9 | Creating projects from template, CPU registers, input and output of strings and numbers. |
| 6 | Fri 9/11 | Indirect addressing, allocating arrays in ROM, computing array sum. |
| 7 | Mon 9/14 | Programming simple arithmetic, printing arrays, computing string length. |
| 8 | Tue 9/15 | Lab 2: Input/output and arithmetic |
| 9 | Wed 9/16 | Copying arrays from ROM to RAM, working with Keil debugger, Euclidean algorithm for computing the Greatest Common Divisor (GCD). |
| 10 | Fri 9/18 | Output of numbers in different bases. |
| 11 | Mon 9/21 | Implementation of the ReadInt function. |
| 12 | Tue 9/22 | Lab 3: Indirect addressing, indexing, and loops |
| 13 | Wed 9/23 | Functions design in assembly, passing parameters to functions in registers by value and by reference, returning values from functions, computing factorials, computing GCD. |
| 14 | Fri 9/25 | Passing parameters to functions in stack, printing arrays, the stack frame concept. |
| 15 | Mon 9/28 | Programming and tracing the Bubble Sort algorithm. |
| 16 | Tue 9/29 | Lab 4: Working with stack |
| 17 | Wed 9/30 | Computing minimum and maximum array elements, programming Selection-Sort algorithm. |
| 18 | Fri 10/2 | Intro to recursion, computing factorials recursively, tracing code with debugger. |
| 19 | Mon 10/5 | Recursive implementation of GCD. |
| 20 | Tue 10/6 | Lab 5: Working with recursion |
| 21 | Wed 10/7 | Recursive print of arrays, recursive implementation of the Bubble Sort algorithm. |
| 22 | Fri 10/9 | Recursive implementation of Selection Sort, review of Part 1 of the course. |
| 23 | Mon 10/12 | Configuring microcontroller pins for input/output, Blink-A-LED project. |
| 24 | Tue 10/13 | Lab 6: Working with LETIMER |
| 25 | Wed 10/14 | Using LETIMER channels, direct LED control by LETIMER, intro to PWM. |
| 26 | Fri 10/16 | Using PWM and LETIMER for LED brightness control, setting PWM duty cycle from the user input. |
| 27 | Mon 10/19 | Fall break |
| 28 | Tue 10/20 | Fall break |
| 29 | Wed 10/21 | Working with Timer0 to blink LED and generating PWM. |
| 30 | Fri 10/23 | Working with RTCC and BURTC timers, polling RTCC interrupt flags, combining RTCC and LETIMER for controlling LED brightness. |
| 31 | Mon 10/26 | Lab 7: Processing button presses |
| 32 | Tue 10/27 | No class (workshop in Minneapolis) |
| 33 | Wed 10/28 | Switch debouncing, implementing the debouncing algorithm. |
| 34 | Fri 10/30 | Basics of interrupt processing, working with LETIMER UF interrupt and with RTCC CNTTICK interrupt. |
| 35 | Mon 11/2 | Handling multiple RTCC channel interrupts, working with interrupt requests from several peripherals. |
| 36 | Tue 11/3 | Working with TIMER0 input capture: measure waveform period. |
| 37 | Wed 11/4 | Using input capture to measure waveform pulse duration, sleep-on-exit feature. |
| 38 | Fri 11/6 | Lab 8: Processing GPIO interrupts |
| 39 | Mon 11/9 | Programming the Reaction game. |
| 40 | Tue 11/10 | Intro to the USART module, using UART for sending and receiving characters, polling USART interrupt flags. |
| 41 | Wed 11/11 | Lab 9: Developing Terminal Library |
| 42 | Fri 11/13 | Processing USART interrupts for sending and receiving strings. |
| 43 | Mon 11/16 | Basics of I2C communication protocol. |
| 44 | Tue 11/17 | Developing I2C driver and sensor driver. |
| 45 | Wed 11/18 | Lab 10: Working with Si7021 sensor |
| 46 | Fri 11/20 | Intro to SPI communication protocol, working with accelerometer, filtering accelerometer data. |
| 47 | Mon 11/23 | Working with accelerometer interrupt, application of accelerometers, working with non-volatile SPI flash, the IEE-754 format for floating point (f.p.) numbers, overview of ARM FPU instructions. |
| 48 | Tue 11/24 | Using ARM FP co-processor, input/output of f.p. numbers, retargeting standard I/O, stack alighment required for printf, computing array sum and average of f.p. numbers, |
| 49 | Wed 11/25 | Computing roots of quadratic equations, computing sin(x). |
| 50 | Fri 11/27 | No class (Thanksgiving) |
| 51 | Mon 11/30 | Comparing f.p. values, copy FPU flags to the CPU flags register, computing square roots with the bisection method. |
| 52 | Tue 12/1 | Review of Module 7, basics of C: type casting, using loops and conditional statements, working with 1-dim and 2-dim arrays, passing 1-dim arrays to functions, function prototypes, bubble-sort arrays. |
| 53 | Wed 12/2 | Passing parameters to function by value and by reference, working with structures in C, copying structures, passing and returning structures and arrays from functions, working with pointers. |
| 54 | Fri 12/4 | I/O by using native C functions, developing microcontroller applications on C at hardware register level. |