Append a charcter after a word (2 bytes), I want to add after every two bytes (word) the character that i want - I have tried MOV WORD PTR DS:[EDX],'X'
Group: Members
Posts: 64
Member No.: 10609
Joined: 27-July 08
hi all can someone help me with this
CODE
LEA EBX,szInput XOR EDX,EDX LEA EDX,szOutput XOR ECX,ECX @@: MOVZX ECX,WORD PTR DS:[EBX] MOV WORD PTR DS:[EDX],CX ;HERE I WAN'T TO ADD AN X AFTER THE WORD INC EDX DEC EAX JNZ @B
well i guess i didn't explain better what i wan't is to add after every two bytes (word) the character that i wan't i've tryied MOV WORD PTR DS:[EDX],'X' but didn't work