Results 1 to 5 of 5

Thread: Reverse Function in debugger

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2006
    Posts
    275

    Reverse Function in debugger

    I want to make a function in debugger which reverse a given string
    For example

    If it is written : BLASEN
    after applying the fuction it appears: NESALB

    How can I do that??

  2. #2
    Addicted Member
    Join Date
    Aug 2005
    Location
    York
    Posts
    197

    Re: Reverse Function in debugger

    eh?
    What debugger?

    Cheers.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2006
    Posts
    275

    Re: Reverse Function in debugger

    Quote Originally Posted by Raedwulf
    eh?
    What debugger?

    Cheers.
    In command prompt if u write "debug" u r switched to debugger mode

  4. #4
    Addicted Member
    Join Date
    Aug 2005
    Location
    York
    Posts
    197

    Re: Reverse Function in debugger

    Crap.....I never knew that
    Cheers. - as to you question - i have no idea what the answer is.

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Reverse Function in debugger

    Quote Originally Posted by Abbas Haider
    I want to make a function in debugger which reverse a given string
    For example

    If it is written : BLASEN
    after applying the fuction it appears: NESALB

    How can I do that??
    Write it in a text editor. Assemble it with an assembler. Type the assembly hex code into debug.

    Hint: point a register at the end of the string. Point another one at the beginning of blank string space. Read from the first register (using it as a pointer), write with the second one, dec the first one, inc the second one - either until you reach your beginning-of-string mark, or for the number of bytes you want to reverse.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width