Git Product home page Git Product logo

one-pass-assembler's Introduction

One-Pass-Assembler

One Pass Assembler in Python

Instructions to install Python, if not present, in your Windows system:

  1. Open Command Prompt by typing 'cmd' in the Windows Search Bar and pressing Enter.
  2. Type in the command 'python -V' and press Enter to check the version of Python already installed on your System.

    If a version of Python already exists on your system, ignore the following steps and continue to the Instructions to run the Assembler script, else continue to Step 3.

  3. Type 'python' on your Command Prompt screen and press Enter. This opens up Windows Store showing the latest Python Installer.
  4. Follow the steps on screen to install Python on your system using Python Installer (don't forget to add Python to PATH).

Instructions to run the One Pass Assembler Python script:

  1. Store the input SIC program in a text file named "input1.txt" in the folder containing the "Assembler.py" and "OpTable.py" scripts.
  2. Click on the Address Bar in File Explorer, type 'cmd' and press Enter.

    A new Command Prompt window opens.

  3. Run the Assembler Python script with the input filename ("input1.txt") and output filename ("output.txt") as command line arguments as follows:

    python Assembler.py input1.txt output.txt

  4. The Object Program is generated and stored in the output.txt file.
  5. To open the file in cmd, enter the following command:

    output.txt

  6. The file can also be opened conventionally in the File Explorer.

one-pass-assembler's People

Contributors

darthsoura avatar coder-zs-cse avatar

Forkers

45h15h

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.