a Java-based simulation of a simple operating system
| syntax | used for |
|---|---|
| to print the output on the screen. Example: print x | |
| assign | to initialize a new variable and assign a value to it. Example: assign x y |
| writeFile | to write data to a file. Example: writeFile x y |
| readFile | to read data from a file. Example: readFile x |
| printFromTo | to print all numbers between 2 numbers. Example: printFromTo x y |
| semWait | to acquire a resource. Example: semWait x |
| semSignal | to release a resource. Example: semSignal x |
1-Clone the project
git clone https://github.com/abdulrhman500/Harvard-computer-architecture-simulator.git2-Go to the project directory
3- Build the project using Maven
mvn clean4- Run the project in the terminal
mvn exec:javaThere are three programs files in this project that are being executed. Go and check them out, and you can edit them as you want.
Here are some related project