Various Projects

2022-01-30 - Computer Systems
#C#Assembly

These are an assortment of projects I created for my Computer Systems course at Northeastern University. These two projects were solo projects done for the course.

Assembly Calculator

2022-01-30

This project involved implementing a simple calculator to support four basic mathematic operations: +, -, ×, and ÷. The calculator was written in Assembly using AT&T syntax and was meant to be an introduction to the Assembly language.

The project was executable by running the function ./calculator followed by an operator and then the two numbers to perform the operation on. It is notable that the / function would provide only the quotient and not the remainder.

Mini Shell

2022-03-03

This project was to recreate a mini shell in C. The shell had to support all functions for both the shortcut path and full path. For example, ls and /bin/ls were both accepted commands that had to return the same value. A few built-in commands such as cd, source, prev, and help were also implemented. On top of this, sequencing, input and output redirection, and pipes were all supported in the mini shell.