对 LSS init_stack,%esp 语句的分析
来源:互联网 发布:微信分销系统 php 编辑:程序博客网 时间:2024/04/28 00:46
转自http://blog.csdn.net/tonutu/article/details/3268321
LSS init_stack,%esp
.
.
.
.file 128,4,0
init_stack:
.long init_stack
.word 0x10
把 init_stack 地址处的内容既init_stack 有效地址给esp,同时把0x10给ss段寄存器
参考了下面一段英文(红色字体部分,Intel Assembly 语法):
LDS, LES, LFS, LGS, LSS: Load Far Pointer
LDS reg16,mem ; o16 C5 /r [8086] LDS reg32,mem ; o32 C5 /r [386] LES reg16,mem ; o16 C4 /r [8086] LES reg32,mem ; o32 C4 /r [386] LFS reg16,mem ; o16 0F B4 /r [386] LFS reg32,mem ; o32 0F B4 /r [386] LGS reg16,mem ; o16 0F B5 /r [386] LGS reg32,mem ; o32 0F B5 /r [386] LSS reg16,mem ; o16 0F B2 /r [386] LSS reg32,mem ; o32 0F B2 /r [386]
These instructions load an entire far pointer (16 or 32 bits of offset, plus 16 bits of segment) out of memory in one go. LDS, for example, loads 16 or 32 bits from the given memory address into the given register (depending on the size of the register), then loads the next 16 bits from memory into DS. LES, LFS, LGS and LSSwork in the same way but use the other segment registers.
LSS init_stack,%esp
.
.
.
.file 128,4,0
init_stack:
.long init_stack
.word 0x10
把 init_stack 地址处的内容既init_stack 有效地址给esp,同时把0x10给ss段寄存器
参考了下面一段英文(红色字体部分,Intel Assembly 语法):
LDS, LES, LFS, LGS, LSS: Load Far Pointer
LDS reg16,mem ; o16 C5 /r [8086] LDS reg32,mem ; o32 C5 /r [386] LES reg16,mem ; o16 C4 /r [8086] LES reg32,mem ; o32 C4 /r [386] LFS reg16,mem ; o16 0F B4 /r [386] LFS reg32,mem ; o32 0F B4 /r [386] LGS reg16,mem ; o16 0F B5 /r [386] LGS reg32,mem ; o32 0F B5 /r [386] LSS reg16,mem ; o16 0F B2 /r [386] LSS reg32,mem ; o32 0F B2 /r [386]
These instructions load an entire far pointer (16 or 32 bits of offset, plus 16 bits of segment) out of memory in one go. LDS, for example, loads 16 or 32 bits from the given memory address into the given register (depending on the size of the register), then loads the next 16 bits from memory into DS. LES, LFS, LGS and LSSwork in the same way but use the other segment registers.
- 对 LSS init_stack,%esp 语句的分析
- 对 LSS init_stack,%esp 语句的分析
- lss _stack_start,%esp
- 对寄存器ESP和EBP的理解
- 对SQL语句效率的分析
- 对寄存器ESP和EBP的一些理解
- 对寄存器ESP和EBP的一些理解
- 对寄存器ESP和EBP的一些理解
- 对寄存器ESP和EBP的一些理解
- 对寄存器ESP和EBP的一些理解
- 对寄存器ESP和EBP的一些理解
- 分析Query 语句对系统性能的影响
- Query 语句对系统性能的影响案例分析
- 对sql进行性能分析的两条语句
- pop %esp和push %esp的研究
- esp的原理
- 微笑的Esp
- webobject.lss
- “生活不会给你私人定制一条没有牺牲的路”——我的新年祝愿
- 通过SpringMVC进行文件的上传
- 黑马程序员 知识点总结-Java正则表达式
- matlab编程入门学习(5)
- Oracle10g连接Sql Server2000
- 对 LSS init_stack,%esp 语句的分析
- HTTP访问的两种方式(HttpClient和HttpURLConnection)
- Android实现应用过渡动画(附源码)
- hibernate小记,error--Null value was asigned toa property of primitive type setter of
- 《Lua程序设计》笔记之二——表和对象
- 初学java andriod 软件安装与配置问题
- 下载文件名字乱码问题,json_encode解决Ajax 返回字符串数据不显示问题
- 让php显示详细错误信息,但不改php.ini的方法
- cmake 添加 debug 信息