r/lc3 • u/ijustlovemath • Mar 22 '13
LC3 Tutorial thread
Hey everyone! By request, I'm putting together a series of videos explaining different aspects of the LC3 language and its implementations. To save time, I've sought out several preliminary lectures that will give you an understanding of the 2's complement data type and a few other important details that are critical to understanding the LC3 and its functions. I'll be sure to update this post with links as I get to them.
What is the 2's complement data type?
Episode List
Memory and Registers (Coming May 20th)
Address Space and Addressability
Labels and Assembler caveats
"NOT" in LC3
"AND" in LC3
"ADD" in LC3, please make sure you understand 2's complement before starting this one!
"LD" in LC3
"LDI" in LC3
"LDR" in LC3
LD vs LDI vs LDR (static vs dynamic operations)
"ST" in LC3
"STI" in LC3
"STR" in LC3
ST vs STI vs STR
BR and condition codes
TRAP vectors
JSR and RET for subroutines
JSRR and RET for subroutines
Long episode: Creating a multiplication subroutine
Final episode: Deconstructing the matrix multiplication code
Again, please post requests in the comments if you have any. I'm balancing a full courseload with this project, but hope to have it done soon, as the videos will be short and sweet.
Thanks guys!