MARIE Simulator Tutorial

Recall that in Chapter 4 of our textbook (Null and Lobur), we discussed the MARIE processor, including its assembly language instructions. There is an online simulator for MARIE that will allow you to develop and run MARIE assembly language programs. The link is https://marie.js.org/

Code Examples

Download the following files on your PC:

Running the Code in the MARIE Simulator

  1. In your browser, go to the MARIE simulator site: https://marie.js.org/
  2. In the top menu bar, select File, Upload and update the tutorial file MARIE_ch4p33.txt (NOTE: you may need to select "All Files" in the Open window box to see the TXT file)




  3. The MARIE simulator will display the assembly code:




  4. On the bottom tool bar, click the Assemble button to assemble the code.




  5. On the bottom tool bar, click the Run button to run the code




  6. On the right hand side of the simulator, there will be a window that displays the results of running the code (Output log). Note that the default output mode is Hexadecimal




  7. You may change the number base for the output module using the pull-down menu (e.g., Decimal)

T. Manikas Last update 2025 July 24