PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: barber

Chapter 7 ARM Exceptions

ARM Exceptions Hsung-Pin ChangDepartment of Computer ScienceNational Chung Hsing UniversityOutlineoARM ExceptionsoEntering and Leaving an ExceptionoInstalling an exception HandleroSWI HandlersoInterrupt HandlersoReset HandlersoUndefined Instruction HandlersoPrefetchAbort HandleroData Abort HandlerARM ExceptionsoARM exception TypesoARM exception Vector TableoARM exception PrioritiesoUse of Modes and Registers by ExceptionsARM exception TypesoResetoUndefined instructionoSoftware Interrupt (SWI)oPrefetchAbortoData AbortoIRQoFIQARM Exceptions Types (Cont.)oResetnOccurs when the processor reset pin is assertedoFor signaling Power-upoFor resetting as if the processor has just powered upnSoftware resetoCan be done by branching to the reset vector (0x0000)oUndefined instructionnOccurs when the processor or coprocessors cannot recognize the currently execution instructionARM Exceptions Types (Cont.)

The Process Response to an Exception o Copies the CPSR into the SPSR for the mode in which the exception is to be handled. n Saves the current mode, interrupt mask, and condition flags. o Changes the appropriate CPSR mode bits n Change to the appropriate mode o Map in the appropriate banked registers for that mode o Disable interrupts n IRQsare disabled when any …

Loading..

Tags:

  Exception, Interrupts

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Chapter 7 ARM Exceptions

Related search queries