MARIE Assembly help -- Implementing arrays

Thread Starter

ceeejayyyy

Joined Dec 1, 2018
1
I'm currently implementing a bubble sort program converted from C++ to MARIE assembly language. What I am confused about is implementing and accessing arrays.

For example:

We have our array: int Array[] = {1,2,3,4}

Then accessing it: Array[0], or Array[2], or Array[3-1]

I don't understand how to implement this is MARIE. The limited documentation on MARIE is making it difficult, but I am guessing it is something along the lines of Storei and Loadi?

Thanks
 
Top