流沙团
repne scasb指令
2018-7-13 流沙团
repne scasb指令,用于扫描字符串,计算字符串的长度,如下两条指令:

cld

repne scasb

对应的等价指令是:

scans:inc edi

    dec ecx

    je loopdone

    cmp byte [edi-1],al

    jne scans

loopdone:
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容