by Bardia Parmoun
Released on: 15/03/2021
- This repository is a collection of some of the assembly projects that I have worked on
- These projects deal with arrays and perform basic operations on an array
- In each folder there are 3 files
- The source file with the name SRC contains the raw code for the program written in ARM assembly.
- The object file with the name OBJ is the assembled version of the code that can be used for debugging.
- The output with the name OUT is the expected output of the program
- To be able to use the debugger you need to use the simulation program of logisim which can be downloaded from the following link:
http://www.cburch.com/logisim/
-
The code for the program first needs to be assembled. Locate the Assembler in the assembler folder. After opening it copy past the code and click on assemble.
The assembled version of the code can be found on the window below the code. Copy that into a txt file.
- After the object code was obtained input that into the debugger. To do this open the debugger in the debugger folder. Open its main memory component and load the object code.
Loading the object code
- Then go back to the main debugger interface. Click on reset to load the first instruction. Then click on run to run the code
- while running the debugger make sure that in logisim simulation and ticks are enabled. You can change the ticking frequency there for faster results
- In addition make sure that the Debugger Support file and Debugger are always in the same folder to assure a smooth run for the debugger.
Author: Bardia Parmoun
Copyright © 2021 Bardia Parmoun. All rights reserved