【译】x86程序员手册12-4.2系统指令
4.2 Systems Instructions 系统指令
Systems instructions deal with such functions as:
系统指令具有以下功能:
- Verification of pointer parameters (refer to Chapter 6):
验证指印参数(参见第6章)
- ARPL> -- Adjust RPL RPL= request provilege level
- LAR -- Load Access Rights
- LSL -- Load Segment Limit
- VERR -- Verify for Reading
- VERW -- Verify for Writing
- Addressing descriptor tables (refer to Chapter 5):
寻址描述符表(参见第5章)
- LLDT -- Load LDT Register
- SLDT -- Store LDT Register
- LGDT -- Load GDT Register
- SGDT -- Store GDT Register
- Multitasking (refer to Chapter 7):
多任务(参见第7章)
- Coprocessing and Multiprocessing (refer to Chapter 11):
协处理和多进程(参见第11章)
- CLTS -- Clear Task-Switched Flag 清除任务切换标志
- ESC -- Escape instructions 退出指令
- WAIT -- Wait until Coprocessor not Busy 等待直到协处理器不忙
- LOCK -- Assert Bus-Lock Signal 验证总线锁信号
- Input and Output (refer to Chapter 8):
输入和输入(参见第8章)
- Interrupt control (refer to Chapter 9):
中断控制(参见第9章)
- CLI -- Clear Interrupt-Enable Flag 关中断
- STI -- Set Interrupt-Enable Flag 开中断
- LIDT -- Load IDT Register 装入IDT寄存器
- SIDT -- Store IDT Register
- Debugging (refer to Chapter 12):
调试(参见第12章)
- TLB testing (refer to Chapter 10):
TLB测试(参见第10章)
- System Control:
系统控制
- SMSW -- Set MSW store mechine status word
取处理器状态字,即CR0寄存器的第0到15位。没有记错的话操作数可以是16位通用寄存器或者内存地址。
置处理器状态字。但是只有操作数的低4位被存入CR0,只有PE,MP,EM和TS被改写,CR0其他位不受影响。
- HLT -- Halt Processor 停止处理器工作
- MOV -- Move to and from control registers 控制寄存器数据读写
The instructions SMSW and LMSW are provided for compatibility with the 80286 processor. 80386 programs access the MSW in CR0 via variants of the MOV instruction. HLTstops the processor until receipt of an INTR or RESET signal.
指令SMSW和LMSW用来提供与80286处理器兼容。80386程序访问CR0中的MSW是通过变形有MOV指令。HLT停止处理器直到收到一个INTR或RESET信号。
In addition to the chapters cited above, detailed information about each of these instructions can be found in the instruction reference chapter, Chapter 17
本章上面提到的内容,关于每项更详细的信息都可以指令参考章第17章找到。
【译】x86程序员手册12-4.2系统指令的更多相关文章
- 【译】x86程序员手册30-8.2 I/O指令
8.2 I/O Instructions I/O指令 The I/O instructions of the 80386 provide access to the processor's I/O p ...
- 【译】x86程序员手册01
Intel 80386 Reference Programmer's Manual 80386程序员参考手册 Chapter 1 -- Introduction to the 80386 第1章 - ...
- 【译】x86程序员手册03 - 2.1内存组织和分段
2.1 Memory Organization and Segmentation 内存组织和分段 The physical memory of an 80386 system is organized ...
- 【译】x86程序员手册20-6.3.4门描述符守卫程序入口
6.3.4 Gate Descriptors Guard Procedure Entry Points 门描述符守卫程序入口 To provide protection for control tra ...
- 【译】x86程序员手册38-10.2实在址模式下的软件初始化
10.2 Software Initialization for Real-Address Mode 实地址模式的软件初始化 In real-address mode a few structur ...
- 【译】x86程序员手册00 - 翻译起因
从上一次学习MIT的操作系统课程又过去了一年.上次学习并没有坚持下去.想来虽有种种原因,其还在自身无法坚持罢了.故此次再鼓起勇气重新学习,发现课程都已由2014改版为2016了.但大部分内容并没有改变 ...
- 【译】x86程序员手册40-10.5初始化的例子
10.5 Initialization Example初始化的例子 译注:本来想把这个例子全部注释完,但由于对intel汇编实不熟悉,有太多的伪指令,本人也是免强看懂,所以就不再做翻译了. $TITL ...
- 【译】x86程序员手册35-9.8异常条件
译注:一些异常没有翻译,因为看书时主要为了理解linux代码,所以代码中没有主要使用的就没有仔细看.这部分内容后期再看时再进行翻译. 9.8 Exception Conditions 异常条件 The ...
- 【译】x86程序员手册31- 第9章 异常和中断
Chapter 9 Exceptions and Interrupts 第9章 异常和中断 Interrupts and exceptions are special kinds of control ...
随机推荐
- JRobin绘制指定时间段的流量图
http://www.micmiu.com/enterprise-app/snmp/jrobin-graph-rpn/
- CODEVS——T 1700 施工方案第二季
http://codevs.cn/problem/1700/ 2012年市队选拔赛北京 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题解 查看运行结果 ...
- [bzoj 1041][HAOI2008]圆周上的整点(枚举)
题目:http://www.lydsy.com/JudgeOnline/problem.php?id=1041 分析:实质上是求(a,b,c)勾股数的个数,其中c是确定的. 对于勾股数有一组通式: a ...
- iptables中增加/删除/查询/修改的基本操作
虽然在Ubuntu使用了UFW来简化iptables的操作,但是UFW只针对防火墙方面,转发方面没有涉及,所以要弄懂其中的原理,还是必须回归到iptables中.CentOS也是如此.下面是针对ipt ...
- 利用Clojure统计代码文件数量和代码行数
;; 引入clojure的io包 (use '[clojure.java.io]) ;; 遍历目录将所有符合要求的文件做为列表返回 (defn walk [dirpath pattern] (doal ...
- HDU2193-AVL-数据结构-AVL
题目链接:http://acm.hdu.edu.cn/statistic.php? pid=2193&from=126&lang=&order_type=0 好吧.水题一道,原 ...
- js 实现replaceAll
须要替换到字符串里面的多个双引號,不废话,直接上代码: var filePath = '"d:/img/1.jgp"'; filePath = filePath.replace(n ...
- poj 1190 生日蛋糕 , 强剪枝
题意: 制作一个体积为Nπ(N<=10000)的M(M<=20)层生日蛋糕,每层都是一个圆柱体. 设从下往上数第i(1 <= i <= M)层蛋糕是半径为Ri, 高度为Hi的圆 ...
- git reset --hard 回滚以后 以后怎么再回去?
恢复的过程很简单: 通过git log -g命令来找到需要恢复的信息对应的commitid,可以通过提交的时间和日期来辨别,找到执行reset --hard之前的那个commit对应的commitid ...
- CJOJ1857 -PG图
Description 背景 LDN不知道为什么特别喜欢PG,也许是某种原因吧…… 有一天,他发明了一个游戏“PG图”. 问题描述 给定一个有向图,每条边都有一个权值. 每次你可以选择一个节点u和一个 ...