【译】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 ...
 
随机推荐
- wait、notify应用场景(生产者-消费者模式)
			
Java实现生产者消费者的方式有:wait && notify.BlockingQueue.Lock && Condition等 wait.notify注意事项:(1) ...
 - ci 传参
			
ci框架 方法上传参 public function index($cataid,$payeid,$per){ echo $cataid; echo $payeid; echo $per; } 直接就 ...
 - LeetCode 463. Island Perimeter (岛的周长)
			
You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represen ...
 - iOS UITextView 高度随文字自己主动添加,并尾随键盘移动(二)
			
上节地址:http://blog.csdn.net/lwjok2007/article/details/47401293 接着上节我们来实现 输入框自己主动调节高度 首先,我们得知道,要推断是否该换行 ...
 - linux下使用script和scriptreplay对命令行操作进行录像
			
转自:linux下用script和scriptreplay对命令行操作录像 在Linux中可以使用script命令来记录命令行的操作过程,并使用scriptreplay命令对命令操作进行回放,操作步骤 ...
 - 应用程序无法正常启动 0xc0000013 vs2013
			
今天下午切换到Windows 优化代码,在debug 的时候一直出现这个问题,折腾了很久,发现原来是系统环境变量的问题,我之前装了双系统,讲原来win7 下的一块E盘删掉做了Linux 盘,而系统环境 ...
 - Prevent the "split brain" by configuring the majority of nodes
			
## Prevent the "split brain" by configuring the majority of nodes (total number of nodes / ...
 - SQL server触发器中 update insert delete 分别给写个例子被。
			
SQL server触发器中 update insert delete 分别给写个例子以及解释下例子的作用和意思被, 万分感谢!!!! 主要想知道下各个语句的书写规范. INSERT: 表1 (ID, ...
 - 为何Google这类巨头会认为敏捷开发原则是废话?
			
[编者按]这是一个来自Quora的问题.Rocket程序员Jasmine Adamson在文中表达了敏捷开发原则是废话的观点,他觉得现实生活中没有什么人会推崇这些原则来工作,不过他们仍然在说其所做的是 ...
 - 北大zhw大神bzoj1756代码
			
#include <cmath> #include <cstdio> #include <cstdlib> #include <iostream> #i ...