资 源 简 介
MJSim is an Atmel AVR simulator and Meggy Jr emulator that was developed for use in an introduction to compilers course at Colorado State University, http://www.cs.colostate.edu/~cs453. MJSim can be used in batch mode to enable grading or be used in GUI mode where one can step through the AVR instructions, set break points, visualize the stack, heap, registers, and condition codes, and visualize the Meggy Jr as calls to a slightly modified version of the Meggy Jr simple run-time library are made.
If you are interested in command-line instructions for compiling Meggy Jr programs from C files or AVR .s files down to the actual device, see the build instructions developed for the course.