求NULL结尾字符串长度
debug吧
全部回复
仅看楼主
level 6
顾妞无法3G
楼主
9
2009年05月07日 08点05分
1
level 6
blueglass2
int strlen(char*s){
__asm{
mov di, s
mov cx,-1
xor ax,ax
cld
repnz scasb
not cx
mov ax,cx
}
}
2009年05月08日 04点05分
2
1