获取寄存器EAX中的字符串长度在call readmsg之后输入了一个字符串存到eax里,接下来如何将输入到eax中的字符个数得出?求大家指点。[解决办法]
mov 变量, eaxxor edi, edixchg edi, eaxor ecx, -1repnz scasbnot ecxdec ecx; ecx就是字符串长度