The HARM package

[Tags: library, program]

A simple ARM virtual machine designed for teaching assembly. See 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]


Versions0.1.1, 0.1.2, 0.1.3, 0.1.4
Change logNone available
Dependenciesarray, base [details]
AuthorJeffrey A. Meunier (and Alex Mason)
MaintainerAlex Mason (
Home page
Executablesdbgarm, runarm
UploadedSat Dec 6 05:07:59 UTC 2008 by AlexMason
Downloads1215 total (7 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees

Readme for HARM-0.1.4

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 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 and I'll see what I can do for you.