Relative Content

Tag Archive for bubble-sortmarie

Why does my MARIE code editor keep saying I have an error in this code?

I am trying to run this code I have for a project, which is supposed to sort some hexadecimal numbers from least to greatest using the bubblesort algorithm. I went through my code and I don’t really know where there could be any errors even with syntax. I am using the MARIE simulator to run these instructions, along with an online MARIE simulator as well just to make sure it is not a problem with my IDE. Another issue I have with this is that my Assembly Listing tab is completely blank whenever I try to pull up the error with my code. The only thing that it says on my MARIE editor is that I have one error and does not even specify the line. I narrowed it down to my attempt of making an array comprised of hexadecimals, should be line 4 in the code. The online MARIE simulator I use highlights the error on line 4 as well. I also cannot use anything like x86 to try and work this because the project has to be done on MARIE. Please help extremely confused and new to assembly code and how it works with regards to memory location. Here is the prompt: