LC-3 Simulator

Simulator Helpful Hints

Click here for some helpful hints regarding the LC3 linux simulator.

General Documentation

Linux Platform

From any department Linux machine, you can assemble and run any LC3 program. You can use your favorite editor (pico, vi, emacs) to write your assembly code. Then you can run the following commands from a terminal window:

Please note that there are currenty some issues with the graphical interface, so please use the text version of lc3db instead.

The following documentation is available:

Windows Platform

The LC-3 Simulator is now available on the Microlab PCs in Painter 3.22. You should be able to log into the PCs using your unix username and password. On the lab computers, you will find under the "Program Files" menu under "Programming" the applications that allow you to write, assemble and run LC3 programs.

The following documentation is available:

Running the Simulator from Home

Finally, if you would like to run the simulator at home on your own PC or Linux machine, you can download and unpack it. While you can get the original LC3 simulator code from the web site, we instead recommend that you download the source code for lc3db and compile it yourself. lc3db has a more fully featured runtime system and the architecture supports interrupts, which will be necessary for this class.

However, we cannot help you install or maintain the software on your home machine. You are on your own. You should also make sure that your programs run on the CS Linux machines before you submit them. Nonetheless, we recommend that you use the version installed on the CS linux machines.

Last modified: 01/21/10 Don Fussell,