lc3.fun
Master assembly programming from the ground up with interactive lessons, a built-in simulator, and hands-on projects.
17
Interactive Lessons
14
Coding Projects
15
LC-3 Instructions
Curriculum
Foundations
Instructions
Memory & Data
Control Flow
Advanced
12345
Recursion
Implementing recursive functions in LC-3 assembly.
String Processing
Working with strings: length, comparison, and manipulation.
Data Structures
Implementing linked lists and stacks in LC-3.
Bit Manipulation
Advanced bit tricks with only AND, NOT, and ADD.
Sorting Algorithms
Implementing bubble sort in LC-3 assembly.
Projects
Fibonacci Sequence
Advanced—Compute and print the first N Fibonacci numbers.
Bubble Sort
Advanced—Sort an array of single-digit numbers and print them in order.
Reverse String In Place
Advanced—Reverse a null-terminated string in memory.
Binary to Decimal
Advanced—Convert a binary string to its decimal value.
Remove Spaces
Advanced—Remove all spaces from a string in place.
Array Sum
Intermediate—Sum the elements of an array and print the result.
Character Counter
Intermediate—Count occurrences of a character in a string.
Count Vowels
Intermediate—Count the number of vowels in an uppercase string.
Multiply Subroutine
Intermediate—Write a subroutine that multiplies two numbers.
Find Maximum
Intermediate—Find the maximum value and its index in an array.
Hello World
Beginner—Print "Hello, World!" to the console.
Character Echo
Beginner—Read a character and print it back 5 times.
Countdown
Beginner—Print a countdown from 9 to 0.
String Length
Beginner—Find the length of a null-terminated string in memory.