Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Product List
processor mode
Let’s discuss the processor modes. The ARM7 core has seven operating modes. The user mode is an unprivileged mode under which most applications run. The system mode is a privileged mode that uses the same registers as the user mode. The user mode and system mode are the only modes that are not involved with exceptions or interrupts. The remaining modes are involved with exceptions and interrupt handling. The first of those is the FIQ, or fast interrupt paneling, high priority processor mode. The IRQ is the general purpose paneling mode. Supervisor is a protected mode for the operating system which is entered on reset or when an SWI instruction has been received. The abort mode handles memory access violations and the undefined mode handles undefined instructions within the core. As you can see here, all of the modes, except for user mode, are privileged. In addition, all of the modes except for user and system are involved with exception modes. Typically, when your code is operating in a normal program, it will be operating in either user or system mode depending on how you've chosen to architect your application.
PTM Published on: 2011-11-02