Skip to content

This is where the demo code (assembly language) for CSCI 2050u will be posted.

License

Notifications You must be signed in to change notification settings

randyfortier/csci2050u_demos

Repository files navigation

csci2050u_demos

This is where the demo code (assembly language) for CSCI 2050u will be posted.

  1. Hello World, using syscall (OS-specific functionality)
  2. Hello World, using libc (theoretically, OS-independent)
  3. Input a number, do arithmetic, output result
  4. Input a number, determine if it is even or odd
  5. Input a number, n, calculate the nth Fibonacci number
  6. Input a string, string, and convert it to uppercase (relevant to Assignment 2)
  7. A version of demo 6, that uses gets() (not recommended in practice, vulnerable to stack overflow)
  8. A version of demo 5, that uses a function to calculate the Fibonacci number
  9. Call a function, by passing arguments on the stack, and return (add4)

About

This is where the demo code (assembly language) for CSCI 2050u will be posted.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published