亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? s05_01.htm

?? Programmer s Reference Manual is an improtant book on Intel processor architecture and programming.
?? HTM
字號:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><HTML><HEAD><TITLE>80386 Programmer's Reference Manual -- Section 5.1</TITLE></HEAD><BODY><B>up:</B> <A HREF="c05.htm">Chapter 5 -- Memory Management</A><BR><B>prev:</B> <A HREF="c05.htm">Chapter 5 -- Memory Management</A><BR> <B>next:</B> <A HREF="s05_02.htm">5.2  Page Translation</A><P><HR><P><H1>5.1  Segment Translation</H1><A HREF="#fig5-2">Figure 5-2</A>  shows in more detail how the processor converts a logicaladdress into a linear address.<P>To perform this translation, the processor uses the following datastructures:<UL><LI> Descriptors<LI> Descriptor tables<LI> Selectors<LI> Segment Registers</UL><H2>5.1.1  Descriptors</H2>The segment descriptor provides the processor with the data it needs to mapa logical address into a linear address. Descriptors are created bycompilers, linkers, loaders, or the operating system, not by applicationsprogrammers. <A HREF="#fig5-3">Figure 5-3</A>  illustrates the two general descriptor formats. Alltypes of segment descriptors take one of these formats. Segment-descriptorfields are:<P>BASE: Defines the location of the segment within the 4 gigabyte linearaddress space. The processor concatenates the three fragments of the baseaddress to form a single 32-bit value.<P>LIMIT: Defines the size of the segment. When the processor concatenates thetwo parts of the limit field, a 20-bit value results. The processorinterprets the limit field in one of two ways, depending on the setting ofthe granularity bit:<OL><LI> In units of one byte, to define a limit of up to 1 megabyte.<LI> In units of 4 Kilobytes, to define a limit of up to 4 gigabytes. Thelimit is shifted left by 12 bits when loaded, and low-order one-bitsare inserted.</OL>Granularity bit: Specifies the units with which the LIMIT field isinterpreted. When thebit is clear, the limit is interpreted in units of onebyte; when set, the limit is interpreted in units of 4 Kilobytes.<P>TYPE: Distinguishes between various kinds of descriptors.<P>DPL (Descriptor Privilege Level): Used by the protection mechanism (referto <A HREF="c06.htm">Chapter 6</A>   ) .<P>Segment-Present bit: If this bit is zero, the descriptor is not valid foruse in address transformation; the processor will signal an exception when aselector for the descriptor is loaded into a segment register. <A HREF="#fig5-4">Figure 5-4</A> shows the format of a descriptor when the present-bit is zero. The operatingsystem is free to use the locations marked AVAILABLE. Operating systems thatimplement segment-based virtual memory clear the present bit in either ofthese cases:<UL><LI> When the linear space spanned by the segment is not mapped by thepaging mechanism.<LI> When the segment is not present in memory.</UL>Accessed bit: The processor sets this bit when the segment is accessed;i.e., a selector for the descriptor is loaded into a segment register orused by a selector test instruction. Operating systems that implementvirtual memory at the segment level may, by periodically testing andclearing this bit, monitor frequency of segment usage.<P>Creation and maintenance of descriptors is the responsibility of systemssoftware, usually requiring the cooperation of compilers, program loaders orsystem builders, and therating system.<P><A NAME="fig5-2"><IMG align=center SRC="fig5-2.gif" border=0><P><HR><P><A NAME="fig5-3"><IMG align=center SRC="fig5-3.gif" border=0><P><H2>5.1.2  Descriptor Tables</H2>Segment descriptors are stored in either of two kinds of descriptor table:<UL><LI> The global descriptor table (GDT)<LI> A local descriptor table (LDT)</UL>A descriptor table is simply a memory array of 8-byte entries that containdescriptors, as <A HREF="#fig5-5">Figure 5-5</A>  shows. A descriptor table is variable in lengthand may contain up to 8192 (2^(13)) descriptors. The first entry of the GDT(INDEX=0) is not used by the processor, however.<P>The processor locates the GDT and the current LDT in memory by means of theGDTR and LDTR registers. These registers store the base addresses of thetables in the linear address space and store the segment limits. Theinstructions <A HREF="LGDT.htm">LGDT</A> and <A HREF="SGDT.htm">SGDT</A> give access to the GDTR; the instructions <A HREF="LLDT.htm">LLDT</A>and <A HREF="SLDT.htm">SLDT</A> give access to the LDTR.<P><A NAME="fig5-4"><IMG align=center SRC="fig5-4.gif" border=0><P><HR><P><A NAME="fig5-5"><IMG align=center SRC="fig5-5.gif" border=0><P><H2>5.1.3  Selectors</H2>The selector portion of a logical address identifies a descriptor byspecifying a descriptor table and indexing a descriptor within that table.Selectors may be visible to applications programs as a field within apointer variable, but the values of selectors are usually assigned (fixedup) by linkers or linking loaders. <A HREF="#fig5-6">Figure 5-6</A>  shows the format of aselector.<P>Index: Selects one of 8192 descriptors in a descriptor table. The processorsimply multiplies this index value by 8 (the length of a descriptor), andadds the result to the base address of the descriptor table in order toaccess the appropriate segment descriptor in the table.<P>Table Indicator: Specifies to which descriptor table the selector refers. Azero indicates the GDT; a one indicates the current LDT.<P>Requested Privilege Level: Used by the protection mechanism. (Refer to<A HREF="c06.htm">Chapter 6</A>)<P>Because the first entry of the GDT is not used by the processor, a selectorthat has an index of zero and a table indicator of zero (i.e., a selectorthat points to the first entry of the GDT), can be used as a null selector.The processor does not cause an exception when a segment register (otherthan CS or SS) is loaded with a null selector. It will, however, cause anexception when the segment register is used to access memory.  This featureis useful for initializing unused segment registers so as to trap accidentalreferences.<P><A NAME="fig5-6"><IMG align=center SRC="fig5-6.gif" border=0><P><HR><P><A NAME="fig5-7"><IMG align=center SRC="fig5-7.gif" border=0><P><H2>5.1.4  Segment Registers</H2>The 80386 stores information from descriptors in segment registers, therebyavoiding the need to consult a descriptor table every time it accessesmemory.<P>Every segment register has a "visible" portion and an "invisible" portion,as <A HREF="#fig5-7">Figure 5-7</A>  illustrates. The visible portions of these segment addressregisters are manipulated by programs as if they were simply 16-bitregisters. The invisible portions are manipulated by the processor.<P>The operations that load these registers are normal program instructions(previously described in <A HREF="c03.htm">Chapter 3</A>). These instructions are of two classes:<OL><LI> Direct load instructions; for example, <A HREF="MOV.htm">MOV</A>, <A HREF="POP.htm">POP</A>, <A HREF="LGS.htm">LDS</A>, <A HREF="LGS.htm">LSS</A>, <A HREF="LGS.htm">LGS</A>, <A HREF="LGS.htm">LFS</A>.These instructions explicitly reference the segment registers.<LI> Implied load instructions; for example, far <A HREF="CALL.htm">CALL</A> and <A HREF="JMP.htm">JMP</A>. Theseinstructions implicitly reference the CS register, and load it with anew value.</OL>Using these instructions, a program loads the visible part of the segmentregister with a 16-bit selector. The processor automatically fetches thebase address, limit, type, and other information from a descriptor table andloads them into the invisible part of the segment register.<P>Because most instructions refer to data in segments whose selectors havealready been loaded into segment registers, the processor can add thesegment-relative offset supplied by the instruction to the segment baseaddress with no additional overhead.<P><HR><P><B>up:</B> <A HREF="c05.htm">Chapter 5 -- Memory Management</A><BR><B>prev:</B> <A HREF="c05.htm">Chapter 5 -- Memory Management</A><BR> <B>next:</B> <A HREF="s05_02.htm">5.2  Page Translation</A></BODY>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩情涩欧美日韩视频| 色综合 综合色| 日韩美女在线视频| 久久成人综合网| 91精品国产高清一区二区三区 | 成a人片亚洲日本久久| 国产精品沙发午睡系列990531| 高清不卡一区二区| 国产精品热久久久久夜色精品三区| 国产福利一区二区三区视频 | 国产69精品久久久久777| 久久久精品一品道一区| 成人免费看片app下载| 国产精品成人网| 色播五月激情综合网| 亚洲一区电影777| 91精品国产综合久久精品| 免费日本视频一区| 国产亚洲自拍一区| 91亚洲精品乱码久久久久久蜜桃| 亚洲综合色视频| 日韩一区二区三区视频在线观看| 国产一区二三区好的| 欧美激情综合五月色丁香小说| 99精品欧美一区二区三区小说| 一区二区三区日韩| 日韩精品影音先锋| 成人av在线资源网站| 亚洲国产成人精品视频| 欧美精品一区视频| 成人动漫一区二区在线| 性做久久久久久久免费看| 精品少妇一区二区三区日产乱码| 成人毛片老司机大片| 亚洲一区中文在线| wwwwww.欧美系列| 91日韩精品一区| 久久国产麻豆精品| 亚洲美女视频在线| 久久午夜免费电影| 欧美日本在线一区| 高清beeg欧美| 五月天精品一区二区三区| 国产婷婷色一区二区三区| 欧美视频一区二区三区| 成人激情小说网站| 久久国产尿小便嘘嘘| 亚洲综合在线电影| 国产日韩欧美不卡| 91精品国产综合久久久蜜臀粉嫩| 成人亚洲一区二区一| 日韩制服丝袜av| 亚洲美女在线国产| 国产日产欧产精品推荐色 | 日韩中文欧美在线| 亚洲欧美激情在线| 久久久国际精品| 日韩午夜精品视频| 欧美精品自拍偷拍动漫精品| 不卡的电视剧免费网站有什么| 蜜臀av在线播放一区二区三区| 亚洲女人的天堂| 中文字幕免费不卡| 精品处破学生在线二十三| 欧洲av在线精品| 91丨九色丨国产丨porny| 国精产品一区一区三区mba视频 | 国产美女久久久久| 日本sm残虐另类| 亚洲不卡av一区二区三区| 最新日韩av在线| 日本一区二区在线不卡| 久久午夜电影网| 欧美电影精品一区二区| 欧美一区二区三区视频在线| 欧美日韩一区高清| 欧美视频一区二区三区在线观看| 91蜜桃婷婷狠狠久久综合9色| 成人免费视频网站在线观看| 国产激情偷乱视频一区二区三区| 美女网站一区二区| 理论电影国产精品| 麻豆国产精品777777在线| 天天影视网天天综合色在线播放 | 久久久亚洲综合| 2023国产精品| 久久久精品免费免费| 国产婷婷色一区二区三区四区| 久久婷婷国产综合精品青草| 久久一日本道色综合| 国产午夜精品一区二区三区视频 | 精品国产一区a| 日韩欧美国产成人一区二区| 日韩欧美一区二区不卡| 精品欧美一区二区久久| 精品va天堂亚洲国产| 国产色产综合产在线视频| 欧美高清一级片在线观看| 中文字幕一区二区三区不卡在线| 亚洲色图色小说| 亚洲一区二区成人在线观看| 视频一区二区三区在线| 黄色成人免费在线| 成人动漫一区二区三区| 色哟哟在线观看一区二区三区| 欧美视频完全免费看| 日韩三级视频在线看| 久久久综合精品| 亚洲欧美经典视频| 日韩不卡一区二区| 国产精品自拍一区| 日本韩国欧美在线| 日韩欧美在线影院| 国产区在线观看成人精品| 亚洲码国产岛国毛片在线| 日韩高清不卡一区二区三区| 国产精品99久久不卡二区| 一本色道久久综合精品竹菊| 制服丝袜亚洲播放| 欧美激情综合网| 午夜欧美视频在线观看| 精品一区二区在线视频| 99久久国产综合精品麻豆| 51久久夜色精品国产麻豆| 中文字幕欧美日本乱码一线二线| 亚洲国产一二三| 国产91富婆露脸刺激对白| 欧美综合色免费| 精品va天堂亚洲国产| 一区二区免费看| 久久91精品久久久久久秒播| 播五月开心婷婷综合| 4hu四虎永久在线影院成人| 中文字幕精品一区二区精品绿巨人| 午夜精品免费在线| heyzo一本久久综合| 欧美一区二区成人6969| 一区二区三区资源| 东方aⅴ免费观看久久av| 欧美一区二区久久| 亚洲一区在线观看免费观看电影高清 | 免费高清视频精品| 色94色欧美sute亚洲线路一ni| 日韩美一区二区三区| 亚洲国产视频在线| 99精品一区二区| 国产午夜精品一区二区三区视频| 日本伊人色综合网| 一本一道久久a久久精品 | 欧美老年两性高潮| 欧美视频日韩视频在线观看| 欧美一区二区三区视频在线观看| 亚洲美女屁股眼交| 国产一区二区在线观看免费| 欧美性色黄大片手机版| 精品国产三级电影在线观看| 无码av免费一区二区三区试看| 国产成人午夜视频| 欧美一级一区二区| 亚洲精品免费播放| 91在线视频免费91| 久久综合久久久久88| 亚洲va欧美va人人爽| 色综合久久综合| 亚洲免费观看高清在线观看| 国产精品一区二区无线| 日韩一区二区三区免费看| 亚洲永久精品大片| 99久久精品免费看国产| 亚洲天堂免费看| 成人白浆超碰人人人人| 精品国产乱码久久久久久免费| 亚洲国产一区视频| 欧美挠脚心视频网站| 亚洲一区视频在线观看视频| 99在线精品免费| 国产欧美精品一区二区三区四区| 天天色 色综合| 欧美性一二三区| 一区二区成人在线| 一本久久精品一区二区| 一区二区三区在线观看视频| 99久久精品费精品国产一区二区| 亚洲国产精品国自产拍av| 国产在线视频一区二区| 中文字幕av一区二区三区| 国产精品一区二区91| 久久精品一区八戒影视| 韩国成人福利片在线播放| 久久免费电影网| 国产成人a级片| 中文字幕第一区综合| 99视频在线精品| 亚洲国产日韩精品| 欧美精品视频www在线观看| 日韩精品91亚洲二区在线观看| 欧洲视频一区二区| 热久久国产精品| 欧美一级理论性理论a| 久久精品99久久久|