欢迎访问ic37.com |
会员登录 免费注册
发布采购

30044-23 参数 Datasheet PDF下载

30044-23图片预览
型号: 30044-23
PDF下载: 下载PDF文件 查看货源
内容描述: 的Geode ™ GXM处理器与MMX支持集成的x86解决方案 [Geode⑩ GXm Processor Integrated x86 Solution with MMX Support]
分类和应用: 微控制器和处理器外围集成电路微处理器
文件页数/大小: 244 页 / 4221 K
品牌: NSC [ National Semiconductor ]
 浏览型号30044-23的Datasheet PDF文件第70页浏览型号30044-23的Datasheet PDF文件第71页浏览型号30044-23的Datasheet PDF文件第72页浏览型号30044-23的Datasheet PDF文件第73页浏览型号30044-23的Datasheet PDF文件第75页浏览型号30044-23的Datasheet PDF文件第76页浏览型号30044-23的Datasheet PDF文件第77页浏览型号30044-23的Datasheet PDF文件第78页  
Processor Programming (Continued)  
3.10 INTERRUPTS AND EXCEPTIONS  
The processing of either an interrupt or an exception  
changes the normal sequential flow of a program by trans-  
ferring program control to a selected service routine.  
Except for SMM interrupts, the location of the selected  
service routine is determined by one of the interrupt vec-  
tors stored in the interrupt descriptor table.  
The INTR interrupt is unmasked when the Interrupt  
Enable Flag (IF, bit 9) in the EFLAGS register is set to 1.  
Except for string operations, INTR interrupts are acknowl-  
edged between instructions. Long string operations have  
interrupt windows between memory moves that allow  
INTR interrupts to be acknowledged.  
True interrupts are hardware interrupts and are generated  
by signal sources external to the processor. All exceptions  
(including so-called software interrupts) are produced inter-  
nally by the processor.  
When an INTR interrupt occurs, the processor performs  
an interrupt-acknowledge bus cycle. During this cycle, the  
CPU reads an 8-bit vector that is supplied by an external  
interrupt controller. This vector selects which of the 256  
possible interrupt handlers will be executed in response to  
the interrupt.  
3.10.1 Interrupts  
External events can interrupt normal program execution  
by using one of the three interrupt pins on the GXm pro-  
cessor:  
The SMM interrupt has higher priority than either INTR or  
NMI. After SMI# is asserted, program execution is passed  
to an SMI service routine that runs in SMM address space  
reserved for this purpose. The remainder of this section  
does not apply to the SMM interrupts. SMM interrupts are  
described in greater detail later in this section.  
Non-maskable Interrupt (NMI pin)  
Maskable Interrupt (INTR pin)  
SMM Interrupt (SMI# pin)  
For most interrupts, program transfer to the interrupt rou-  
tine occurs after the current instruction has been com-  
pleted. When the execution returns to the original  
program, it begins immediately following the interrupted  
instruction.  
3.10.2 Exceptions  
Exceptions are generated by an interrupt instruction or a  
program error. Exceptions are classified as traps, faults or  
aborts depending on the mechanism used to report them  
and the restartability of the instruction which first caused  
the exception.  
The NMI interrupt cannot be masked by software and  
always uses interrupt vector 2 to locate its service routine.  
Since the interrupt vector is fixed and is supplied inter-  
nally, no interrupt acknowledge bus cycles are performed.  
This interrupt is normally reserved for unusual situations  
such as parity errors and has priority over INTR interrupts.  
A Trap exception is reported immediately following the  
instruction that generated the trap exception. Trap excep-  
tions are generated by execution of a software interrupt  
instruction (INTO, INT3, INTn, BOUND), by a single-step  
operation or by a data breakpoint.  
Once NMI processing has started, no additional NMIs are  
processed until an IRET instruction is executed, typically  
at the end of the NMI service routine. If NMI is re-asserted  
before execution of the IRET instruction, one and only one  
NMI rising edge is stored and then processed after execu-  
tion of the next IRET.  
Software interrupts can be used to simulate hardware  
interrupts. For example, an INTn instruction causes the  
processor to execute the interrupt service routine pointed  
to by the nth vector in the interrupt table. Execution of the  
interrupt service routine occurs regardless of the state of  
the IF flag (bit 9) in the EFLAGS register.  
During the NMI service routine, maskable interrupts may  
be enabled. If an unmasked INTR occurs during the NMI  
service routine, the INTR is serviced and execution  
returns to the NMI service routine following the next IRET.  
If a HALT instruction is executed within the NMI service  
routine, the CPU restarts execution only in response to  
RESET, an unmasked INTR or a System Management  
Mode (SMM) interrupt. NMI does not restart CPU execu-  
tion under this condition.  
The one byte INT3, or breakpoint interrupt (vector 3), is a  
particular case of the INTn instruction. By inserting this  
one byte instruction in a program, the user can set break-  
points in the code that can be used during debug.  
www.national.com  
74  
Revision 3.1  
 复制成功!