| Electronic Components Datasheet Search |
|
HC705J2 Datasheet(PDF) 49 Page - Motorola, Inc |
|
|
|||||||||||||||||||||||||||||
HC705J2 Datasheet(HTML) 49 Page - Motorola, Inc |
|
49 / 78 page ![]() MC68HC705J2 RESETS AND INTERRUPTS MOTOROLA 5-3 5.2 Interrupts An interrupt temporarily stops normal processing to process a particular event. Unlike a reset, an interrupt does not stop the operation of the instruction being executed. An interrupt takes effect when the current instruction completes its execution. An interrupt saves the CPU registers on the stack and loads the program counter with a user-defined interrupt vector address. The following conditions produce an interrupt: • Timer overflow or real-time interrupt request (timer interrupts) • A logical zero applied to the IRQ pin (external interrupt) • SWI instruction (software interrupt) The CPU does the following things to begin servicing an interrupt: • Stores the contents of the CPU registers on the stack as shown in Figure 5-2 ACCUMULATOR CONDITION CODE REGIST INDEX REGISTER PROGRAM COUNTER LOW PROGRAM COUNTER HIGH 70 TOWARD HIGHER ADDRESSES (HIGHEST STACK ADDRESS IS $00 TOWARD LOWER ADDRESSES (LOWEST STACK ADDRESS IS $0 UNSTACK STACK Figure 5-2. Interrupt Stacking Order • Sets the interrupt mask to prevent further interrupts • Loads the program counter with the contents of the appropriate interrupt vector locations: — $0FF8 and $0FF9 (timer interrupt vector) — $0FFA and $0FFB (external interrupt vector) — $0FFC and $0FFD (software interrupt vector) |
|
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 |