Coder Social home page Coder Social logo

rodoviario / js-8080-sim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eliben/js-8080-sim

0.0 1.0 0.0 600 KB

Intel 8080 assembler and simulator in JS, optimized for simplicity.

License: BSD 2-Clause "Simplified" License

JavaScript 98.08% Makefile 0.09% HTML 1.82%

js-8080-sim's Introduction

js-8080-sim

Interactive assembler and simulator for the 8080 CPU. Can be used from the command line (on Node.js) or in the browser, with a simple UI):

How it works

The code for the assembler and simulator is in the src/ directory.

The files parser.js and assembler.js implement a 8080 assembler. Assemblers typically have different syntaxes; this one attempts to remain close to the "Intel 8080 Assembly Language Programming Manual" book. Not all directives are implemented - PRs welcome!

The file sim8080.js is the 8080 simulator; it is forked from https://github.com/maly/8080js with some minor tweaks, and retains its original BSD license.

For an example of using the assembler and simulator from the command line, see sample/sample.js.

Web UI

The web UI has no server component; it runs purely in your browser and doesn't make any HTTP requests. It does use the browser's local storage to save the last program you ran, for convenience. You can play with a live version here: https://eliben.org/js8080

js-8080-sim uses browserify; see Makefile for the invocation.

The files index.html, ui.js and js8080simBundle.js should be distributed together to make it all work in the browser.

js-8080-sim's People

Contributors

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