|
[求助]鸟蛋的心声音:想像看小说一样的看汇编代码.
唉,这次是我没坐到沙发。。。。。。 |
|
[求助]鸟蛋的心声音:想像看小说一样的看汇编代码.
呵呵,好有意思! GoRun: 呵,不好意思,我也不是太了解,应该是一个标记吧,如什么_start:之类的一样吧,标志着从这里开始执行吧。 mov ax,0b800h 把0b800h放入ax, 0b800h是地址?还是个什么数据。 单从这句不能决定它是是数据还是第址,但你看下面那个句子就可以决定这是一个段基址。 mov es,ax es是一个段寄存器,这句话的意思是把设ES段的段基址为ax,即为刚才的b8000h(左移4位) mov ah,07h 这个也不清楚是做什么的,ah 没这个寄存器吧,把07h放进去做什么呢? 呵呵,你的汇编功底很弱,需多看书。 AX寄存器分高八位(ah)和低八位寄存器(al)(h代表High, l代表Low),大致结构如下: --------|--------—| AH AL s:mov word ptr es:[bx],ax 直接被这句雷到了,老大们我真的看不懂... 你把它写成: s: mov word ptr es:[bx],ax 或许就更好理解了,es刚才说明了是一个段寄存器,指定了一个段的起始地址:这里是 B8000h(注意这里我左移了四位,若这里不懂,看书吧,看看8086的寻址方式)。 简而言之吧:把ax的值 存入 es << 4 + bx (也就是 B8000 + bx)这一地址上。 而前面的那个word ptr指明是字操作。 add bx,2 bx+2 也不知道具体达到什么目的,移位? 调整指针值,使其加2,指向下一地址。 貌似是一个死循环 建议LZ多看书! |
|
汇编中的几个问题
呵,仅快了几十秒吧 |
|
汇编中的几个问题
1个cpu的寻址能力为8KB,那么它的地址总线宽度为:?? 地址总线的宽度的单位是位(bit),它能寻址8K,因为 2 的 13 次方 = 8K,所以此题的答案是13位,反过来说,就是。。。。。(LZ明白了没?) 第二个问题: 数据会相互覆盖的,也就是说不管BX里以前存的是什么数据,执行这句话之后BX里存的就是AX的值了。 所以你的第一个也就错了,请重新考虑,呵呵,看来你是个完全初学者。 |
|
|
|
[原创]借贵宝地诚聘-360安全卫士,期待你来华山论剑![实时更新,请随时关注]
这里的人从不为学历而困扰! 呵,我感觉如果一个公司真能做到这样,呵,不成功才怪! 支持!看明年能否来贵公司实习,啊哈哈。。。 |
|
[求助]arhat,这书还不全
呵,不只是短信,好像权限都成了初级会员的权限,比如说能上传的RAR文件最大为1.0M,呵,其它的没试,我就不知道了。 |
|
[结束]网络攻防007——奇虎360软件安全大赛
360有分堂? |
|
[结束]网络攻防007——奇虎360软件安全大赛
呵,这下半年时间很紧啊。。。。。 |
|
|
|
[讨论]准备组织翻译The IDA Pro book
我也再来个,认领附录 A, B, C |
|
[推荐]北京职位IT
为何公司名也不贴个? |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值