Git Product home page Git Product logo

virtual-machine-lc3's Introduction

LC-3 Virtual Machine

The LC-3 Virtual Machine is a project aimed at simulating the functionality of the LC-3 computer architecture. It allows users to write and execute programs written in LC-3 assembly language within a simulated environment.

Overview

The LC-3 is a simple computer architecture used for educational purposes to teach the basics of computer organization and assembly language programming. This virtual machine project provides a practical implementation of the LC-3 architecture, allowing users to gain hands-on experience with low-level programming concepts.

Features

  • LC-3 Instruction Set Simulation: The virtual machine supports the entire LC-3 instruction set, including arithmetic and logical operations, memory access, branching, and trap instructions.
  • Memory and Register Simulation: Simulates the memory and registers of the LC-3, providing a realistic environment for executing programs.
  • User-Friendly Interface: The virtual machine includes a simple command-line interface for loading programs, executing instructions, and viewing program output.
  • Cross-Platform Compatibility: Written in C, the virtual machine is designed to run on multiple platforms, including Linux, macOS, and Windows.

Usage

To use the LC-3 Virtual Machine, follow these steps:

  1. Clone the repository to your local machine.
  2. Compile the source code using a C compiler such as GCC.
  3. Run the compiled executable and load an LC-3 program file.
  4. Use the provided commands to execute instructions, view program output, and interact with the simulated environment.

Materials

virtual-machine-lc3's People

Contributors

tomassar 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.