IRET指令详解
来源:互联网 发布:pyhon面向对象高级编程 编辑:程序博客网 时间:2024/06/06 21:42
copy from http://lion3875.blog.51cto.com/2911026/532347
当使用IRET指令返回到相同保护级别的任务时,IRET会从堆栈弹出代码段选择子及指令指针分别到CS与IP寄存器,并弹出标志寄存器内容到EFLAGS寄存器。
当使用IRET指令返回到一个不同的保护级别时,IRET不仅会从堆栈弹出以上内容,还会弹出堆栈段选择子及堆栈指针分别到SS与SP寄存器。
IA-32指令手册关于这一点描述的很清楚,原文如下:
the IRET instruction pops the return instruction pointer, return code segment selector, and EFLAGS image from the stack to the EIP, CS, and EFLAGS registers, respectively, and then resumes execution of the interrupted program or procedure. If the return is to another privilege level, the IRET instruction also pops the stack pointer and SS from the stack, before resuming program execution
- IRET指令详解
- iret指令详解
- iret指令
- 关于IRET指令
- 汇编,ret retf iret指令
- iret
- 特权级0的代码到特权级3代码的转移之IRET指令
- ret & IRET
- IRET/IRETD - 中断返回
- ret/retf/iret
- <%@ 指令详解
- 指令详解
- ret,retf,iret的区别
- [转]VI 指令详解
- #pragma 预处理指令详解
- #pragma 预处理指令详解
- #pragma 预处理指令详解
- HTML指令详解
- EM算法及相关概念
- C 队列
- Latex使用--subfigure竖排图形
- java中浮点数不能直接运算,需用BigDecimal类
- 从零 使用vc
- IRET指令详解
- 双网卡绑定单IP
- 关于NoSQL的选型和使用
- IOS开发之手势——UIGestureRecognizer 共存
- java jxl实现excel更新功能
- oracle 中 merge 用法 【转】
- Hadoop安全机制介绍
- Hadoop Kerberos安全机制介绍
- Apache Tomcat 整合