The purpose of this project was to design a machine language simulator The code performs the ADD function between two hexadecimal numbers. The hexadecimal numbers were inputted from a text file called "myFile.txt" This program first asks the user to input a name of a file. If the program is able to identify and open the given file, then it first identifies the command "ADD" and then takes the following hexadecimal numbers that are stored in the uint32_t unsigned int. The program then prints out the sums calculated into the console If the program is unsuccessful in opening the file, the program prints an error message and exits.
[![WSL Version][wsl-image]][https://docs.microsoft.com/en-us/windows/wsl/install]
This software is designed as is for an in class project.
Install Linux or the windows subsystem
Navigate to build folder In the console, compile the program by running "make" Then, run the executable by typing "./a.out" Input the file name "myFile.txt"
## Development setup
sudo apt-add-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make
## Release History
* 3.0
* CHANGE: Made edits, added comments, and cleaned up. Final version
* 2.0
* CHANGE: New code with new method
* 1.0
* CHANGE: Initial code
## Meta
Jessica Nam - jessicanam@nevada.unr.edu
Distributed under the MIT license. See ``LICENSE`` for more information.
[Github](github goes here)
## Contributing
1. Fork it (<github fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request
<!-- Markdown link & img dfn's -->
[wsl-image]: https://www.techrepublic.com/a/hub/i/2016/01/27/e0e94fb7-
d058-4d62-8027-c497e7c0e069/ubuntuhero.jpg