CSCI 224: Assembly Language Programming

Course Agenda (Fall 2026)

ClassDateTopics covered in class
1Wed
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.
2Fri
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.
3Mon
9/7
No class (Labor day)
4Tue
9/8
Lab 1: Getting started with Keil μVision IDE
5Wed
9/9
Creating projects from template, CPU registers, input and output of strings and numbers.
6Fri
9/11
Indirect addressing, allocating arrays in ROM, computing array sum.
7Mon
9/14
Programming simple arithmetic, printing arrays, computing string length.
8Tue
9/15
Lab 2: Input/output and arithmetic
9Wed
9/16
Copying arrays from ROM to RAM, working with Keil debugger, Euclidean algorithm for computing the Greatest Common Divisor (GCD).
10Fri
9/18
Output of numbers in different bases.
11Mon
9/21
Implementation of the ReadInt function.
12Tue
9/22
Lab 3: Indirect addressing, indexing, and loops
13Wed
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.
14Fri
9/25
Passing parameters to functions in stack, printing arrays, the stack frame concept.
15Mon
9/28
Programming and tracing the Bubble Sort algorithm.
16Tue
9/29
Lab 4: Working with stack
17Wed
9/30
Computing minimum and maximum array elements, programming Selection-Sort algorithm.
18Fri
10/2
Intro to recursion, computing factorials recursively, tracing code with debugger.
19Mon
10/5
Recursive implementation of GCD.
20Tue
10/6
Lab 5: Working with recursion
21Wed
10/7
Recursive print of arrays, recursive implementation of the Bubble Sort algorithm.
22Fri
10/9
Recursive implementation of Selection Sort, review of Part 1 of the course.
23Mon
10/12
Configuring microcontroller pins for input/output, Blink-A-LED project.
24Tue
10/13
Lab 6: Working with LETIMER
25Wed
10/14
Using LETIMER channels, direct LED control by LETIMER, intro to PWM.
26Fri
10/16
Using PWM and LETIMER for LED brightness control, setting PWM duty cycle from the user input.
27Mon
10/19
Fall break
28Tue
10/20
Fall break
29Wed
10/21
Working with Timer0 to blink LED and generating PWM.
30Fri
10/23
Working with RTCC and BURTC timers, polling RTCC interrupt flags, combining RTCC and LETIMER for controlling LED brightness.
31Mon
10/26
Lab 7: Processing button presses
32Tue
10/27
No class (workshop in Minneapolis)
33Wed
10/28
Switch debouncing, implementing the debouncing algorithm.
34Fri
10/30
Basics of interrupt processing, working with LETIMER UF interrupt and with RTCC CNTTICK interrupt.
35Mon
11/2
Handling multiple RTCC channel interrupts, working with interrupt requests from several peripherals.
36Tue
11/3
Working with TIMER0 input capture: measure waveform period.
37Wed
11/4
Using input capture to measure waveform pulse duration, sleep-on-exit feature.
38Fri
11/6
Lab 8: Processing GPIO interrupts
39Mon
11/9
Programming the Reaction game.
40Tue
11/10
Intro to the USART module, using UART for sending and receiving characters, polling USART interrupt flags.
41Wed
11/11
Lab 9: Developing Terminal Library
42Fri
11/13
Processing USART interrupts for sending and receiving strings.
43Mon
11/16
Basics of I2C communication protocol.
44Tue
11/17
Developing I2C driver and sensor driver.
45Wed
11/18
Lab 10: Working with Si7021 sensor
46Fri
11/20
Intro to SPI communication protocol, working with accelerometer, filtering accelerometer data.
47Mon
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.
48Tue
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,
49Wed
11/25
Computing roots of quadratic equations, computing sin(x).
50Fri
11/27
No class (Thanksgiving)
51Mon
11/30
Comparing f.p. values, copy FPU flags to the CPU flags register, computing square roots with the bisection method.
52Tue
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.
53Wed
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.
54Fri
12/4
I/O by using native C functions, developing microcontroller applications on C at hardware register level.