## 14.2 寄存器和指令
實地址模式下的寄存器集合包括8086定義的所有寄存器,加上80386新引入的寄存器:FS, GS, 調試寄存器,控制寄存器,和測試寄存器。可以顯式的使用段寄存器FS和GS作為操作數,而且可以使用新引入的段-重寫前綴來利用FS和GS來計算地址。指令可以利用操作數長度前綴來使用32位操作數。
保護模式下操作,檢查80386選擇符和描述符的指令導致未定義操作碼陷阱(中斷6);這些指令包括:VERR, VERM, LAR, LSL, LTR, STR, LLDT和SLDT。在實地址模式下執行的程序可以通過80186/80188, 80286和80386的介紹來使用新加入的應用導向指令。
+ New instructions introduced by 80186/80188 and 80286.
+ PUSH immediate data
+ Push all and pop all (PUSHA and POPA)
+ Multiply immediate data
+ Shift and rotate by immediate count
+ String I/O
+ ENTER and LEAVE
+ BOUND
+ New instructions introduced by 80386.
+ LSS, LFS, LGS instructions
+ Long-displacement conditional jumps
+ Single-bit instructions
+ Bit scan
+ Double-shift instructions
+ Byte set on condition
+ Move with sign/zero extension
+ Generalized multiply
+ MOV to and from control registers
+ MOV to and from test registers
+ MOV to and from debug registers
- 第一章 80386介紹
- 1.1 該手冊的組織結構
- 1.2 其他文獻
- 第二章 編程基本模型
- 2.1 存儲器組織和段
- 2.2 數據類型
- 2.3 寄存器
- 2.4 指令格式
- 2.5 操作數選擇
- 2.6 中斷和異常
- 第4章 系統寄存器
- 4.1 系統寄存器 (System Registers)
- 4.2 系統指令 (System Instructions)
- 第五章 內存管理
- 5.1 分段地址轉換(Segment Translation)
- 5.2 分頁地址轉換(Page Translation)
- 5.3 混合分段和分頁地址轉換(Combining Segment and Page Translation)
- 第六章 內存管理
- 6.1 為什么要保護(Why Protection?)
- 6.2 80386保護機制概述(Overview of 80386 Protection Mechnaisms)
- 6.3 段級保護(Segment-Level Protection)
- 6.4 頁級保護(Page-Level Protection)
- 6.5 混合分頁和分段保護(Combining Page and Segment Protection)
- 第7章 多任務(Multitasking)
- 8.1 I/O 尋址(I/O Addressing)
- 7.1 任務狀態段(Task State Segment)
- 7.3 任務寄存器(Task Register)
- 7.4 任務門描述符(Task Gate Descriptor)
- 7.5 任務切換(Task Switching)
- 7.6 任務鏈(Task Linking)
- 7.7 任務尋址空間(Task Address Space)
- 第8章 輸入 輸出
- 8.2 I/O 指令(I/O Instructions)
- 8.3 保護和I/O(Protection and I/O)
- 第9章 異常和中斷(Exceptions and Interrupts)
- 9.1 識別中斷(Identifying Interrupts)
- 9.2 允許和禁止中斷(Enabling and Disabling Interrupts)
- 9.3 同時發生的中斷和異常的優先級(Priority Among Simultaneous Interrupts and Exceptions)
- 9.4 中斷描述符表(Interrupt Descriptor Table)
- 9.5 IDT 描述符(IDT Descriptors)
- 9.6 中斷任務和中斷子程序(Interrupt Tasks and Interrupt Procedures)
- 9.7 出錯碼(Error Code)
- 9.8 異常條件(Exception Conditions)
- 9.9 異常總結(Exception Summary)
- 9.10 出錯碼總結(Error Code Summary)
- 第10章 初始化(Initialization)
- 10.1 復位后處理器狀態(Processor State After Reset)
- 10.2 實模式初始化(Software Initialization for Real-Address Mode)
- 10.3 切換到保護模式(Switching to Protected Mode)
- 10.4 保護模式初始化(Software Initialization for Protected Mode)
- 10.5 初始化示例
- 10.6 TLB測試
- 第十四章 80386實地址模式
- 14.1 物理地址構成
- 14.2 寄存器和指令
- 14.3 中斷和異常處理
- 14.4 進入和離開實地址模式
- 14.6 實地址模式異常
- 14.7 與8086的不同
- 14.8 與80286實地址模式的不同