reverse the string using recursion - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

reverse the string using recursion

Good, I'm doing a work in assembley.
where I have to reverse the string using recursion:
Only by using the following commands:
- LOCO, LODD, ADDD ,SUBD, LODL, ADDL, SUBL ,PUSH, POP, PSHI , POPI, CALL, Retn...

string: .string "hello world"


main:
.
...
...

rec: # recursive function that I will reverse the string!

ps: Already have a print function that does the string, etc ...
Objective: To appear in the output "dlrow ollew"


someone help me? Thank-_ _

Comments

Sign In or Register to comment.