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

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.