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

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

?? interrup.pri

?? A Programmer s Reference to BIOS, DOS, and Third-Party Calls
?? PRI
字號:
			iAPX 86 Interrupt Primer
			------------------------

			     by Ralf Brown
				 12/87
		    Updated 6/88, 4/90, 9/92, 1/97


What is an interrupt?
---------------------
   An interrupt is a hardware signal that tells the CPU to temporarily
   stop what it is doing and go do something else.  Without interrupts,
   the CPU would have to constantly check for external events; with
   interrupts, the CPU can work on something else and still respond to
   an event as soon as it occurs. 

   CPUs typically have an instruction to disable interrupts for use
   when a section of code has to run without being disturbed by
   external events.  Because of this, most CPUs also have a special
   interrupt called a Non-Maskable Interrupt (NMI), which is responded
   to even when all other interrupts are disabled.  The NMI is used to
   signal calamities such as memory failure or imminent power loss.

Why so many different interrupts?
---------------------------------
   The 8086 family of processors has the ability to recognize 256
   different interrupts.  They also have the ability to let a program
   invoke any of these interrupts with a special instruction, known as
   a software interrupt (as opposed to a hardware interrupt which is
   signalled from outside the processor).  Software interrupts are
   treated just like hardware interrupts, except that they are never
   disabled and do not result in an acknowledgement to other chips in
   the computer.  The software interrupt instruction on the 8086 family
   is called INT, and is given the number of the interrupt.  Thus an
   INT 21h instruction invokes interrupt number 33 decimal.

   Other processors also have software interrupts, though they often
   use different names, such as the Motorola 68000 family TRAP
   instruction, the Intel 8080 RST (ReSTart) instruction, or many
   mainframes' SVC (SuperVisor Call). 

   Since a program can invoke an interrupt by number rather than by its
   address (as it has to in calling subroutines), interrupts are a
   convenient way of providing services without having to recompile a
   program whenever the address of the code providing the service
   changes.  This also allows a user program to enhance the services
   provided by directing the interrupt to itself.  These enhanced
   services can then be made available to other programs.

How does an interrupt work in real-address mode?
------------------------------------------------
   The 8086 reserves the lowest 1024 bytes of memory for a table (IVT,
   Interrupt Vector Table) containing the addresses for each of the 256
   possible interrupts.  When an interrupt occurs (hardware or
   software), the processor multiplies its number by 4 and looks at the
   resulting memory location to find the address of the piece of code
   which handles the interrupt.  It then places the current address in
   the program and the processor flags on the stack, and jumps to the
   beginning of the interrupt handler.

   When the interrupt handler finishes, it invokes a special
   instruction to return from the interrupt.  This instruction takes
   the previously saved flags and program address off of the stack and
   places them back in the appropriate registers in the CPU.

   The interrupt handler has to be careful to preserve any registers
   that it uses which are not used to communicate results to the
   program that invoked the interrupt.  If the interrupt can be
   triggered by a hardware interrupt (only certain ones can on IBM
   PC's, XT's, and AT's), then the interrupt handler has to preserve
   ALL registers, since the interrupt could have happened anywhere.

How does an interrupt work in protected mode?
---------------------------------------------
   The 80286 and later processors can also operate in protected mode,
   in which case the interrupt handling is somewhat different.  First,
   the interrupt table consists of eight-byte descriptors instead of
   four-byte addresses, and need not be located at physical address
   zero, nor contain the full 256 entries (the address and size of the
   Interrupt Descriptor Table (IDT) may be manipulated with the LIDT
   and SIDT instructions).

   Second, in protected mode, the descriptor for an interrupt number
   specifies HOW control is transferred to the interrupt handler.
   Three types of transfer are possible: Interrupt Gate, Trap Gate,
   and Task Gate.  The first two types transfer control to a handler
   running in the same process as the active program, while a Task Gate
   performs a complete context switch in order to invoke a handler in
   a different process from the active program.  Interrupt and Trap
   gates are identical except that an Interrupt Gate will clear IF
   and thus disable interrupts, while a Trap Gate leaves IF unchanged.

How does an interrupt work in virtual-86 (V86) mode?
----------------------------------------------------
   The 80386 and later processors provide a virtual-8086 mode which is
   a protected mode that appears to software to be the same as Real
   mode.  Because it is a protected mode, however, interrupts and
   various other actions that potentially affect system integrity do
   not execute directly, but instead invoke a supervisor program running
   in standard protected mode.  Thus, whenever a program running in
   V86 mode invokes an interrupt call, the CPU switches to protected
   mode and transfers control to the interrupt handler specified by
   the protected-mode IDT, rather than the real-mode IVT.  The
   supervisor program may handle the interrupt call in any way it
   likes, but typically switches the CPU back into V86 mode and jumps
   to the address specified in the real-mode IVT (a process which is
   known as "reflecting" the interrupt).


GLOSSARY
--------
API (Application Program[ming] Interface)
   An API is the set of function calls and services that a program
   makes available to other processes (applications).  Each function or
   service has a set format which specifies the values to be supplied
   by the caller and the values which are returned. Because of this
   interface specification, the underlying organization of the function
   or service can be changed without affecting the applications which
   use it.  For example, the DOS INT 21h file access functions remained
   unchanged between DOS 2.x and DOS 3.x, even though the internal data
   structures and code organization changed significantly.

IDT (Interrupt Descriptor Table)

IVT (Interrupt Vector Table)

NMI (Non-Maskable Interrupt)
   Most external (hardware) interrupts can be disabled by the CLI
   (CLear Interrupt enable flag) instruction when the CPU is executing
   critical code that should not be interrupted, such as switching from
   one stack to another.  However, there are some situations so dire
   that the CPU must act on them immediately no matter what else it is
   doing, even if it has disabled interrupts.  The Non-Maskable
   Interrupt serves precisely this purpose, as it cannot be disabled
   (masked) by the CPU.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色哟哟亚洲精品| 国产精品国产自产拍高清av| 亚洲国产精品嫩草影院| 久久国产免费看| 色综合久久九月婷婷色综合| 国产精品婷婷午夜在线观看| 国产成人亚洲综合a∨婷婷图片| 欧美成人r级一区二区三区| 免费在线观看一区二区三区| 欧美喷水一区二区| 日韩国产欧美三级| 91精品国产高清一区二区三区| 亚洲国产视频一区二区| 欧美精品一二三| 美女视频免费一区| 精品国产免费一区二区三区香蕉| 黑人精品欧美一区二区蜜桃| 26uuu色噜噜精品一区二区| 国产一区二区剧情av在线| 国产三级一区二区三区| 欧美美女激情18p| 日本中文字幕一区| 26uuu另类欧美亚洲曰本| 成人午夜激情在线| 中文字幕 久热精品 视频在线| 美女脱光内衣内裤视频久久影院| 欧美久久久久久久久| 久久国产人妖系列| 中文av一区二区| 91黄色免费观看| 免费成人性网站| 国产精品久久久久久久久快鸭 | 欧美激情综合在线| 色哟哟国产精品免费观看| 亚洲最新在线观看| 欧美xxxx老人做受| av一本久道久久综合久久鬼色| 亚洲欧美日韩综合aⅴ视频| 宅男在线国产精品| 国产成人av电影在线观看| 亚洲视频一二三| 日韩精品中午字幕| 国产一区欧美一区| 亚洲精品欧美激情| 精品国产凹凸成av人网站| 不卡区在线中文字幕| 亚洲午夜免费电影| 久久精品欧美一区二区三区麻豆| 91视频一区二区| 狠狠色综合色综合网络| 亚洲同性同志一二三专区| 欧美一区二区免费视频| 成人av在线播放网站| 香蕉加勒比综合久久| 欧美激情艳妇裸体舞| 欧美一级生活片| 91蜜桃免费观看视频| 狠狠色伊人亚洲综合成人| 中文字幕精品一区二区精品绿巨人| 91在线免费视频观看| 婷婷久久综合九色综合伊人色| 久久精品男人天堂av| 欧美精品久久99久久在免费线| 成人免费视频免费观看| 免费一区二区视频| 亚洲精品视频在线| 麻豆精品一二三| 一区二区三区中文在线| 国产日韩欧美精品综合| 在线综合+亚洲+欧美中文字幕| 99精品视频在线免费观看| 国产一区二区按摩在线观看| 午夜一区二区三区在线观看| 国产精品久久久久久久久动漫 | av在线一区二区| 日韩不卡一区二区三区 | 日本成人在线电影网| 一区二区三区四区激情| 久久青草国产手机看片福利盒子| 欧美日韩精品电影| 在线影院国内精品| 色婷婷久久久综合中文字幕| 成人免费va视频| 国产·精品毛片| 国产成人8x视频一区二区| 国产一区二区精品久久99| 国产精品中文字幕一区二区三区| 日本不卡视频一二三区| 日韩精品亚洲一区二区三区免费| 亚洲自拍与偷拍| 亚洲高清久久久| 亚洲成人精品在线观看| 一区二区三区免费| 一区二区三区av电影 | 99精品热视频| 国产一区二区毛片| 国产精品一区一区| 国产成人av网站| 黑人巨大精品欧美黑白配亚洲| 久88久久88久久久| 国内成+人亚洲+欧美+综合在线| 久久成人羞羞网站| 国产美女精品人人做人人爽| 黄色资源网久久资源365| 免费人成黄页网站在线一区二区 | 亚洲乱码中文字幕| 伊人色综合久久天天人手人婷| 亚洲女人****多毛耸耸8| 亚洲理论在线观看| 午夜精品在线看| 久久精品国产亚洲aⅴ| 激情图片小说一区| 99久久国产综合精品麻豆| 色综合久久天天| 91精品国产综合久久久蜜臀粉嫩 | 免费国产亚洲视频| 欧美大片在线观看一区二区| 欧美日韩国产一二三| 欧美一区二区三区视频免费| 精品国产91乱码一区二区三区| 久久久久青草大香线综合精品| 国产精品久久精品日日| 一区二区高清免费观看影视大全| 天天综合天天综合色| 国产自产2019最新不卡| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲自拍偷拍av| 蜜桃av一区二区三区电影| 成人少妇影院yyyy| 51精品国自产在线| 中国色在线观看另类| 亚洲二区在线观看| 国产不卡视频在线观看| 一本色道a无线码一区v| 日韩视频一区二区三区 | 亚洲三级在线观看| 伦理电影国产精品| 色综合久久久久综合体| 日韩精品专区在线| 亚洲制服丝袜av| 国产成人精品亚洲日本在线桃色| 色一情一乱一乱一91av| 欧美影院一区二区三区| 久久尤物电影视频在线观看| 夜夜嗨av一区二区三区中文字幕| 久久精品国产秦先生| 91黄色免费看| 国产精品免费视频网站| 日本aⅴ精品一区二区三区 | 五月激情综合婷婷| 99国产精品久久久久| 精品日韩欧美在线| 亚洲影视资源网| 成人黄色软件下载| 精品欧美乱码久久久久久1区2区| 亚洲欧洲中文日韩久久av乱码| 国产主播一区二区三区| 91精品国产91综合久久蜜臀| 亚洲人成精品久久久久| 精品亚洲porn| 欧美一级二级在线观看| 亚洲综合一区二区三区| 99久久精品国产麻豆演员表| 久久久久综合网| 视频一区二区中文字幕| 欧美性生活影院| 亚洲电影视频在线| 欧美嫩在线观看| 日本三级韩国三级欧美三级| 91精品国产全国免费观看| 日本中文字幕一区二区有限公司| 欧美二区三区的天堂| 日本成人在线不卡视频| 欧美va亚洲va| 国产精品一区一区| 亚洲欧洲美洲综合色网| 色综合天天狠狠| 亚洲国产视频网站| 日韩欧美激情在线| 国产一区二区美女诱惑| 国产精品久久久久一区二区三区共 | 中文字幕第一区| av福利精品导航| 夜夜嗨av一区二区三区网页| 欧美日韩国产一区二区三区地区| 日韩国产欧美三级| 久久精品一区二区三区四区| 成人精品国产一区二区4080| 日韩理论在线观看| 欧美军同video69gay| 久久99国产精品尤物| 国产精品久久久久久久久免费樱桃| 色综合天天综合| 日韩影院精彩在线| 精品久久国产97色综合| 91在线观看污| 日韩精品五月天| 欧美激情艳妇裸体舞| 欧美日韩亚洲综合一区二区三区| 免费一区二区视频|