bochs单步运行时的反汇编代码长度的疑惑
时间:2011-12-16
来源:互联网
(0) Magic breakpoint
Next at t=106895833
(0) [0x00000000000056f2] 0030:0000000000000002 (unk. ctxt): mov ax, 0x8e00 ; b838008e
<bochs:2> n
Next at t=106895834
(0) [0x00000000000056f5] 0030:0000000000000005 (unk. ctxt): mov ds, ax ; 8ed8
<bochs:3> n
Next at t=106895835
(0) [0x00000000000056f7] 0030:0000000000000007 (unk. ctxt): mov es, ax ; 8ec0
<bochs:4> n
Next at t=106895836
(0) [0x00000000000056f9] 0030:0000000000000009 (unk. ctxt): mov ss, ax ; 8ed0
<bochs:5> n
Next at t=106895837
(0) [0x00000000000056fb] 0030:000000000000000b (unk. ctxt): mov gs, ax ; 8ee8
<bochs:6> n
Next at t=106895838
(0) [0x00000000000056fd] 0030:000000000000000d (unk. ctxt): mov eax, cr0 ; 0f20c0
<bochs:7> n
Next at t=106895839
(0) [0x0000000000005700] 0030:0000000000000010 (unk. ctxt): and al, 0x0f ; 24fe0f
第3行的源代码是: mov ax, SelectorNormal
机器代码应该是 b83800;反汇编应该是:mov ax,0x0038
第21行的源代码是:and al,ofeh
机器代码应该是24fe; 反汇编应该是:and al,0xfe
但bochs的结果不一样!恳请牛人解答!!!
Next at t=106895833
(0) [0x00000000000056f2] 0030:0000000000000002 (unk. ctxt): mov ax, 0x8e00 ; b838008e
<bochs:2> n
Next at t=106895834
(0) [0x00000000000056f5] 0030:0000000000000005 (unk. ctxt): mov ds, ax ; 8ed8
<bochs:3> n
Next at t=106895835
(0) [0x00000000000056f7] 0030:0000000000000007 (unk. ctxt): mov es, ax ; 8ec0
<bochs:4> n
Next at t=106895836
(0) [0x00000000000056f9] 0030:0000000000000009 (unk. ctxt): mov ss, ax ; 8ed0
<bochs:5> n
Next at t=106895837
(0) [0x00000000000056fb] 0030:000000000000000b (unk. ctxt): mov gs, ax ; 8ee8
<bochs:6> n
Next at t=106895838
(0) [0x00000000000056fd] 0030:000000000000000d (unk. ctxt): mov eax, cr0 ; 0f20c0
<bochs:7> n
Next at t=106895839
(0) [0x0000000000005700] 0030:0000000000000010 (unk. ctxt): and al, 0x0f ; 24fe0f
第3行的源代码是: mov ax, SelectorNormal
机器代码应该是 b83800;反汇编应该是:mov ax,0x0038
第21行的源代码是:and al,ofeh
机器代码应该是24fe; 反汇编应该是:and al,0xfe
但bochs的结果不一样!恳请牛人解答!!!
作者: zhp925 发布时间: 2011-12-16
一切以实际执行的代码流为准。
作者: mydo 发布时间: 2011-12-16
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28