Answer» How can we get our name in reverse order in a Assembly LANGUAGE, like Maria...airam plz show the code, Tommorow is my exam, its a QUESTION i need to practice, most PROBABLY this type of question could be asked in exam. Thanks
No Homework helping.
But here:http://www.xs4all.nl/~smit/asm01001.htmWe can help users with their homework........But not directly. It's always best if they FIND out the answers for themselves, not by someone else telling them.Store the ASCII bytes in an area of memory, one by one M, a, r, i, a Reserve another area of memory with the same number of bytes. Set a pointer equal to the LENGTH of the name. [:start] get the character of the name pointed to by (memory1 start + pointer) put it in memory location pointed to by (memory2 finish - pointer) decrement the pointer if the pointer is not zero jump to :start The end.
|