|
[讨论][原创]关于对MOV(指令组)与LEA指令的讨论!
你没弄懂 常见于算法里的 lea edi, [edi+edx+8] 是要实现 edi = edi+edx+8 跟address无关. 亦即可看成 mov edi, edi+edx+8 你在 OD 输入 mov edi, edi+edx+8 当然不行 lea edi, [edi+edx+8] 看成 mov edi, edi+edx+8 是一种习惯. 再怎么变脑子都不用去想. (lea -> mov 去掉括号) |
|
[讨论][原创]关于对MOV(指令组)与LEA指令的讨论!
lea edi,dword ptr ds:[edi+edx+8] 这样比较好学: lea 换成 mov 去掉中括号 变成 mov edi, edi+edx+8 |
|
[讨论]这是如何编译来的?(已解决)
看的应该是MASM手册 |
|
[讨论]这是如何编译来的?(已解决)
欲将常数当指标, 需指定一个区段, 所以应写成: mov eax, ds:[40100h] 就会真的是 0040389F > A1 00010400 mov eax, [40100] 平常写惯了不加段, 若省略段记号, 常数会被直接使用, 而不是当成一个指标, 如下: mov eax, [40100h] 变成 0040389F > B8 00010400 mov eax, 40100 |
|
|
|
|
|
|
|
|
|
[讨论]这是如何编译来的?(已解决)
有炶类似这个 mov eax, [12345678h] 不会报错, 结果出来是 mov eax, 12345678h 你的例子应该本来就该这么写吧 mov eax,dwOffset mov al,[eax] 原先的 cmp byte ptr [dwOffset],0 不会报错, 但是会让人误解 不要加 [] 比较好 |
|
[求助]想找个免费的师傅。带我入门。
二小时 1000RMB 很好找的 |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值