Coder Social home page Coder Social logo

clauf14 / machine-with-one-adress-python Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 31 KB

This project attempts to simulate as closely as possible the operation of a logic processor.It performs mathematical operations such as addition, subtraction, multiplication, division, square root, factorial, equation of degree 1 and 2, sum of the digits.

Python 100.00%
computer-architecture-lesson math python tkinter-python

machine-with-one-adress-python's Introduction

πŸ–₯️ Machine with One Adress

πŸ‘¨β€πŸŽ“ Authors

❔ What is this project about?

This project attempts to simulate as closely as possible the operation of a logic processor by using the fundamental operation of a processor, such as reading, writing, jumping from a adress to another, etc. The instructions are made after this table:

App Screenshot

πŸ› οΈ How it was built?

🐍 This application was built using Python.

πŸ–ΌοΈ The design was made using the Tkinter library.

πŸ–ŒοΈ So this is the design for the interface. We have a Text Box where we can write what operation we need to do from the list below. As you can see, we have 12 different operations.

❕ Let's select the "Factorial" option, that does what the name says.

🀞🏻 Good, now let's press "Calculeaza" button which means "Calculate".

βœ… The button turns green, so we need to continue to the local console.

😎 Cool, now we have to enter the value of the number whose result we want to know. I'll choose 5.

🀩And the the result appears immediately right next to "Valoarea numarului" and it is 120, because 5! = 1 * 2 * 3 * 4 * 5 . Below the result we have the operations and the addresses where these operations were performed to solve the "Factorial" option. In Memory[number], number is the adress of the operation.

βœ”οΈ Features

  • Easy to use and suggestive interface
  • Quick calculation

πŸ“„ Documentation

Documentation

πŸ™ Feedback

If you have any feedback, please reach out to me at [email protected]

machine-with-one-adress-python's People

Contributors

clauf14 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.