the prOgram is abOut inputting a string and then the result will be its reversed string..

for example: insecure
the result must be "erucesni"

i have my cOde belOw..

help me please..

.STACK 100h

MaxChars DB 10
NumChars DB 0
InputBuffer DB 'xxxx xxxx ' ; Room for 9 chars + CR
TextNumChars DB 'x',13,10,'$'

StringPrompt DB 'Type a line of text: $'
DisplayReverse DB 13,10,'Result: $',13,10

mov ax,@data
mov ds,ax
mov dx,OFFSET StringPrompt
mov ah,9
int 21h

mov dx,OFFSET MaxChars
mov ah,10
int 21h

mov dx,OFFSET DisplayReverse
mov ah,9
int 21h

mov si,OFFSET InputBuffer ; InputBuffer will

contain the entered characters

mov ah,4ch ; DOS terminate

program routine
mov al,0
int 21h

END start


that's it..

help me please..


ok my suggestion just use push pop and getch with echo(int 21h and ah=1h it's very easy