This is where the demo code (assembly language) for CSCI 2050u will be posted.
- Hello World, using syscall (OS-specific functionality)
- Hello World, using libc (theoretically, OS-independent)
- Input a number, do arithmetic, output result
- Input a number, determine if it is even or odd
- Input a number, n, calculate the nth Fibonacci number
- Input a string, string, and convert it to uppercase (relevant to Assignment 2)
- A version of demo 6, that uses gets() (not recommended in practice, vulnerable to stack overflow)
- A version of demo 5, that uses a function to calculate the Fibonacci number
- Call a function, by passing arguments on the stack, and return (add4)