mov edi, offset s_Hm65 ; "HM65"
or ecx, 0FFFFFFFFh
xor eax, eax;
repne scasb;遇到0结束
not ecx;此时0FFFFFFFFh-ecx就字符串长度
sub edi, ecx
获取字符串长度
mov edi, offset s_Hm65 ; "HM65"
or ecx, 0FFFFFFFFh
xor eax, eax;
repne scasb;遇到0结束
not ecx;此时0FFFFFFFFh-ecx就字符串长度
sub edi, ecx
获取字符串长度