0

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

3
Contributors
5
Replies
16
Views
3 Years
Discussion Span
Last Post by JamesCherrill
0

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.

0

i know the basic of maries as am new to the program i dont undestand how to write a program as i have benn taugh that yet.

0

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

Edited by JamesCherrill

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.