Write a program that will swap two values stored in location X and Y. For example if the initial values were X=2 and Y=5 then after the execution of your program the stored values should be X=5 and Y=2. in mariesim
Then make best effort at explaining what you don't understand, why you don't understand it, and where clarification will help you understand. Just posting your homework assignment looks like you want someone else to do it for you.
MarieSim seems to have been written in Java, but you can't write MARIE programs in Java, so you probably won't find anyone here who can help.
It's whole purpose is to introduce machine-level machine code programming in a highly simplified virtual machine. A very quick Google on "marie programming" lead me immediately to all kinds of documentation and tutorials, so that would be a good place to start.
And yes, DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments" http://www.daniweb.com/community/rules