GithubHelp home page GithubHelp logo

matanlurey / arm.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smiley22/arm.js

0.0 3.0 0.0 12.17 MB

A simulator and assembler for the ARMv4T instruction set architecture, written in TypeScript/JavaScript

Home Page: http://smiley22.github.io/ARM.JS/

TypeScript 35.77% PowerShell 0.17% C 0.65% Assembly 1.50% HTML 2.42% CSS 0.86% JavaScript 58.64%

arm.js's Introduction

Introduction

ARM.JS is a simulator for the ARMv4T instruction set architecture (as is used by the ARM7TDMI and others), written in TypeScript/JavaScript. It also features a GNU-like ARM assembler. You can try it out in your favourite web browser.

You can also compile your own C programs using the GNU ARM Embedded Toolchain and then run them in the simulator in your browser. There's also an online unit-test suite that you can run here.

To make things a bit more interesting, the project provides a simple virtual development board with a couple of hardware devices to play around with. More specifically, the virtual dev-board features:

  • ARM7-like Processor
  • 512kb flash ROM
  • 32kb static RAM
  • 2x General purpose I/O ports
  • 8 LEDs
  • 10 Push Buttons (Mapped to Keyboard keys 0-9)
  • 2-line HITACHI HD44780-compliant LCD
  • Programmable Interrupt Controller
  • 2x UARTs (National Semiconductor 16750 compatible)
  • 2x Programmable Timers
  • Watchdog Timer
  • Real Time Clock (DS1307)

You can take a look at the datasheet for the memory map and a description of the memory-mapped HW registers. Or just look at the provided ARM assembly and C program examples.

This project is purely academic in service of my personal curiosity.

Credits

This project is copyright © 2016 Torben Könke.

License

This project is released under the GNU General Public License (GPL).

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.