HARM: A simple ARM emulator in haskell

[ compilers-interpreters, deprecated, library, program ] [ Propose Tags ]
Deprecated

A simple ARM virtual machine designed for teaching assembly. See http:/tinyurl.com639v6u for details on internals and examples of how to use it. It is advised you look through the source on the site and try following along to really learn what's going on. Currently the emulator does not use standard ARM assembly, but a custom variant. This will hopefully be changed in the near future.

Two programs, runarm and dbgarm, are provided which can be used to run and debug the assembly.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.1, 0.1.2, 0.1.3, 0.1.4
Dependencies array, base [details]
License LicenseRef-OtherLicense
Author Jeffrey A. Meunier (and Alex Mason)
Maintainer Alex Mason (axman6@gmail.com)
Category Compilers/Interpreters
Home page http://www.engr.uconn.edu/~jeffm/Classes/CSE240-Spring-2001/Lectures/index.html
Bug tracker mailto:axman6@gmail.com
Uploaded by AlexMason at 2008-12-06T05:07:59Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables dbgarm, runarm
Downloads 4064 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for HARM-0.1.4

[back to package description]
HARM is a simple ARM emulator written in haskell, with the intention of teaching students about assembly and how CPU's work. It was written by Jeffrey A. Meunier at the University of Connecticut for the 2000 "CSE240 Intermediate Computer Systems" course.

It is advised that you go to http://www.engr.uconn.edu/~jeffm/Classes/CSE240-Spring-2001/index.html and work through the syllabus if you want to understand how the project got to where it is. I have updated most of it to work in GHC with the changes that have been made since it was originally written.

Included are two programs, p1.arm and p2.arm which demonstrate the syntax used in the machines. To run there, you can use runarm in ~/.cabal/bin, and dbgarm to debug the assembly.

If you have any questions, email me at axman6@gmail.com and I'll see what I can do for you.