Skip to main content

Snap! RISC/ARM assembly language emulator

Downloaded: 426

Last edit: 11 November 2022

Resource Type Teaching Resources, Example Programs and Live Lessons

Here is the Snap! version of the RISC/ARM emulator that I wrote in BYOB here.

It will open in full screen mode but to do anything useful you'll need to restore the scripts screen by clicking the two headed restore icon. Have a look at the Examples sprite to see some longish examples.

If you're not familiar with Snap! it's BYOB written in JavaScript by Jens Mönig (the original BYOB developer). Since it's JavaScript it runs in your browser (I've only really tried it in Chrome. Internet Explorer certainly has problems with the backspace key in input fields and Firefox seems to be very slow).

Since this emulator is in Snap! there is no complicated installation process to go though, in fact all you need to do is click here. If you want you can just download the XML file included here, although this may not be the most recent version (I've removed this for the moment since it's possibly confusing: if you want an XML version just download from the cloud and use the File/Export option).

I've added one or two extensions to it, and on my blog I've put a few posts describing pipelining, and how you can add it to the emulator (in a fashion) and what happens when you add it without thinking enough!

Pipelining isn't on the new AQA A-level specification for Computer Science from which I took the instruction set (see this sample paper, question 6), but it is on the OCR specification.

Most of the documentation I did for the BYOB version will still apply so I've included it here but in a slightly updated version.

Level: Advanced)

Teaches: Assembly language, pipelining, macros

Edit history

John Stout | 11.11.22

Updated the type of the resource

Unlock