Screenshot | Source file(s) | Description |
---|---|---|
pic1 | prog1.c, prog1.s | Side-by-side C and Assembly for a simple loop |
pic2 | - | Running the simple C program |
pic3 | ternary.txt | Explaining the ternary operator (c?a:b) |
pic4 | prog1.s in QtSpim | QtSpim interface |
pic5 | - | Output of prog1 in QtSpim |
pic6 | - | Explaining I-type instruction encoding |
pic7 | prog2.c, prog2.s | Side-by-side C and Assembly for some linked list code |
pic8 | malloc.s | Explaining malloc as if it's just a function that does an sbrk syscall (don't use this code directly; it's silly!) |