Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


@Diyadiya here is the code for reversing string

  • one year ago
  • one year ago

  • This Question is Closed
  1. annas
    Best Response
    You've already chosen the best response.
    Medals 3

    .MODEL SMALL .STACK 100H .DATA msg DB 0AH,0DH,'=>is palindrome','$' msg2 DB 0AH,0DH,'=>is not palindrome','$' a DB ? .CODE MAIN PROC mov ah, 2h mov dl,'?' int 21h xor cx, cx mov ah, 1h int 21h mov a, al call palindrome exit: mov ah, 4ch int 21h MAIN ENDP palindrome proc while_: cmp al, 0dh je end_while push ax inc cx int 21h jmp while_ end_while: mov ah, 2h mov dl, 0dh int 21h mov dl, 0ah int 21h jcxz exit top: pop dx int 21h loop top cmp dl,a je print call print2 ret print: call print1 ret palindrome ENDP print1 proc mov ax,@DATA mov ds,ax mov dx,offset msg mov ah,09 int 21h ret print1 endp print2 proc mov ax,@DATA mov ds,ax mov dx,offset msg2 mov ah,09 int 21h ret print2 endp END MAIN

    • one year ago
  2. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    I'd rather use this http://textmechanic.com/Reverse-Text-Generator.html

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...


  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.