https://github.com/ayushmantripathy9/coordinate-system
Implementation of Coordinate System in SIC assembly language in requirement of course System Software (CSN-252)
https://github.com/ayushmantripathy9/coordinate-system
assembly assembly-language-programming coordinate-systems sic
Last synced: 12 days ago
JSON representation
Implementation of Coordinate System in SIC assembly language in requirement of course System Software (CSN-252)
- Host: GitHub
- URL: https://github.com/ayushmantripathy9/coordinate-system
- Owner: ayushmantripathy9
- License: apache-2.0
- Created: 2021-05-29T09:54:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-31T17:19:21.000Z (about 5 years ago)
- Last Synced: 2025-12-27T09:56:09.418Z (5 months ago)
- Topics: assembly, assembly-language-programming, coordinate-systems, sic
- Language: Assembly
- Homepage:
- Size: 705 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Coordinate-System
Group Project for System Software ( CSN-252 )
To simulate the project locally, follow the steps:
1. Install SicTools by the following commands:
```
git clone https://github.com/jurem/SicTools.git
cd SicTools
make jar
```
2. Download the `CoordinateSystem.asm` file from our repo.
3. Run the simulator using the command: ```java -jar out/make/sictools.jar```
4. Load the `CoordinateSystem.asm` file into the simulator
5. Set the frequency to 10000kHz and the screen height and width to 109.
6. Start the simulation and use the `stdin` to give inputs for drawing in the Coordinate System. You can view the outputs in the Graphical Screen.
Commands:
- input:
- color is element of {r - red, w - white, y - yellow, g - green}
- x, y and n are elements of [-5, 5]
- draw a point:
- pxyK{color}
- where K is optional and if used will draw the point as a cross
- p52g -> draws point at x = 5, y = 2 in green color
- p-31Kr -> draws point as a cross at x = -3, y = 1 in red color
- draw a function:
- functions have two ways of input:
- y = x and y = -x : fx{color} and f-x{color}
- y = n: fn{color}
- f1w -> draws y = 1 function in white color
- fxy -> draws y = x function in yellow color
- clear screen: c
- exit program: 0
### The following are some snaps of the simulations of our program:




### Multiple inputs at once:


