Returning pointer to the letter in string
问题 This is my code to search ih some string consists of one letter: selectedWords BYTE "BICYCLE" inputLetter BYTE 'Y' cld mov ecx, LENGTHOF selectedWords mov edi, offset selectedWords mov al, inputLetter ;Load character to find repne scasb ;Search jne notfound But how to return the pointer to the letter in string? If I want after to change one leter with some other. Its easy to do if you have pointer to the letter in string. 回答1: If repne scasb finds the element, EDI points to the element after