Skip to main content

A Python Package to simulate a MARIE architecture on any computer

Project description

MarieSimulator

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

Code Format

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

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

GUI Mode

from marieSimulator import MarieGUI, app
import sys

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

Download the GUI application here Or copy: https://www.aaryandehade.live/Marie%20Simulator.dmg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marieSimulator-1.1.8.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marieSimulator-1.1.8-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file marieSimulator-1.1.8.tar.gz.

File metadata

  • Download URL: marieSimulator-1.1.8.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for marieSimulator-1.1.8.tar.gz
Algorithm Hash digest
SHA256 9dd769443aef558c30942ebb55eb5191c91d022a129a1172771fea450a92b749
MD5 7b0e59ff650c2acc00a6065553cf5afc
BLAKE2b-256 b6e7ec4289c77a825d2481ad3e98dad6ece99cfad7ee2f54c981f4e495b5fd75

See more details on using hashes here.

File details

Details for the file marieSimulator-1.1.8-py3-none-any.whl.

File metadata

  • Download URL: marieSimulator-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for marieSimulator-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 71972dfd4544b612c6c66e2b499d9c537ab11cb1d0aa32527f7e16d795b90b2c
MD5 a60355d41b0337208b3a9a9180df4abb
BLAKE2b-256 05555ffc169ba73f656a8d369bbae70e7938a1777d9d273735a0fb5dde0df59c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page