These demonstrate I/O by adding 2 numbers entered by the user.
They are identical except the second program uses
main instead of __start.
Inputs a name, then outputs a personalized letter.
Inputs x and y, outputs x XOR y.
A simple program to print the integers from 1 to 10.
Shows one way to convert a do/while loop to assembler code. The only
difference between these two programs is that the C instruction
j = list[i]
This program generates 100 values, stores them in a static array, then prints the values to the screen.
A program to demonstrate a recursive procedure to calculate the factorial of an integer.
A basic procedure call which takes input and provides output (no stack manipulation).
Demonstrates a procedure that calculates an exponent (i^j). The procedure itself uses a loop of the form while(...) {...}.
A program to calculate the sum of array 1+2+3+...+N using recursive procedure.