Metadata-Version: 2.1
Name: marieSimulator
Version: 1.1.2
Summary: A Python Package to simulate a MARIE architecture on any computer
Home-page: https://github.com/dehadeaaryan/MarieSimulator
Author: Aaryan Dehade
Author-email: dehadeaaryan@gmail.com
Project-URL: Bug Tracker, https://github.com/dehadeaaryan/MarieSimulator/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE


# MarieSimulator

Simulator for MARIE (Machine Architecture that is Really Intuitive and Easy)

## Code Format

```Python

from marieSimulator import Marie, MarieReader as mr # import the marie and marie reader modules

marie = Marie(mr('trial')) # trial is the file containing Marie instructions
marie.run() # run the program
marie.show() # show memory in hex after running

```

## Trial File

```Text

        Load        X
        Add         One
        Store       X
        Halt
X,      HEX         0000
One,    HEX         0001

```

## GUI Mode

```Python
from marieSimulator import *

window = MarieGUI()
window.show()
sys.exit(app.exec_())
```

### Supported Opcodes (Instructions)

1. Load X
2. Store X
3. Add X
4. Subt X
5. Input
6. Output
7. Halt
8. Skipcond X
9. Jump X
10. Clear
11. AddI X
12. JumpI X
13. LoadI X
14. StoreI X
15. JnS X
16. HEX X
