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

  • You still need help on this? What kind of assembler Your using for it. and what processor
Sign In or Register to comment.

Howdy, Stranger!

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

Categories

In this Discussion