| Electronic Components Datasheet Search |
|
80C286 Datasheet(PDF) 14 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
80C286 Datasheet(HTML) 14 Page - Renesas Technology Corp |
|
14 / 65 page ![]() 80C286 FN2947 Rev.3.00 Page 14 of 65 January 28, 2008 Single Step Interrupt The 80C286 has an internal interrupt that allows programs to execute one instruction at a time. It is called the single step inter- rupt and is controlled by the single step flag bit (TF) in the flag word. Once this bit is set, an internal single step interrupt will occur after the next instruction has been executed. The interrupt clears the TF bit and uses an internally supplied vector of 1. The lRET instruction is used to set the TF bit and transfer control to the next instruction to be single stepped. Interrupt Priorities When simultaneous interrupt requests occur, they are pro- cessed in a fixed order as shown in Table 5. Interrupt process- ing involves saving the flags, return address, and setting CS:lP to point at the first instruction of the interrupt handler. If another enabled interrupt should occur, it is processed before the next instruction of the current interrupt handler is executed. The last interrupt processed is therefore the first one serviced. Initialization and Processor Reset Processor initialization or start up is accomplished by driving the RESET input pin HIGH. RESET forces the 80C286 to ter- minate all execution and local bus activity. No instruction or bus activity will occur as long as RESET is active. After RESET becomes inactive, and an internal processing interval elapses, the 80C286 begins execution in real address mode with the instruction at physical location FFFFF0(H). RESET also sets some registers to predefined values as shown in Table 6. HOLD must not be active during the time from the leading edge of the initial RESET to 34 CLKs after the trailing edge of the initial RESET of an 80C286 system. Machine Status Word Description The machine status word (MSW) records when a task switch takes place and controls the operating mode of the 80C286. It is a 16-bit register of which the lower four bits are used. One bit places the CPU into protected mode, while the other three bits, as shown in Table 7, control the processor extension interface. After RESET, this register contains FFF0(H) which places the 80C286 in 80C286 real address mode. The LMSW and SMSW instructions can load and store the MSW in real address mode. The recommended use of TS, EM, and MP is shown in Table 8. Halt The HLT instruction stops program execution and prevents the CPU from using the local bus until restarted. Either NMI, INTR with IF = 1, or RESET will force the 80C286 out of halt. If inter- rupted, the saved CS:IP will point to the next instruction after the HLT. TABLE 5. INTERRUPT PROCESSING ORDER ORDER INTERRUPT 1 Instruction Exception 2 Single Step 3NMI 4 Processor Extension Segment Overrun 5INTR 6 INT Instruction TABLE 6. 80C286 INITIAL REGISTER STATE AFTER RESET Flag Word 0002(H) Machine Status Word FFF0(H) Instruction Pointer FFF0(H) Code Segment F000(H) Data Segment 0000(H) Extra Segment 0000(H) Stack Segment 0000(H) TABLE 7. MSW BIT FUNCTIONS BIT POSITION NAME FUNCTION 0 PE Protected mode enable places the 80C286 into protected mode and cannot be cleared except by RESET. 1 MP Monitor processor extension allows WAIT instructions to cause a processor exten- sion not present exception (number 7). 2 EM Emulate processor extension causes a processor extension not present excep- tion (number 7) on ESC instructions to al- low emulating a processor extension. 3 TS Task switched indicates the next instruc- tion using a processor extension will cause exception 7, allowing software to test whether the current processor exten- sion context belongs to the current task. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |