ARM920T supports the following seven operating modes:
. User Mode: the normal mode of running the application.
. Fast interrupt mode (FIQ mode), used to support high-speed data transmission or channel processing.
. Interrupt mode (IRQ mode), used for normal interrupt processing.
. Super User Mode (SVC mode), operating system protection mode
. Abnormal interrupt mode (ABT mode). Enter the data and log on or prefetch the abnormal interrupt command.
. System Mode (sys mode) is a privileged user mode used by the operating system.
. Undefined mode (und mode). This mode is used when undefined commands are executed.
The processor mode can be switched through software control, or through external interruption or exception handling.
DivisionUser ModeThe other six processor modes are called privileged modes (privileged mode ).
User Mode: Most usersProgramThe program runs in user mode. In this mode, the program cannot access some system resources protected by the operating system, and the application cannot directly switch the processor mode.
Privileged Mode: The program can access all system resources or switch the processor mode at will.
In the six privileged modesSystem ModeFive other privileged modes are also called the exception mode.
Exception Mode: When an application suffers an exception interruption, the processor enters the corresponding exception mode. Each exception mode has a set of registers for the corresponding exception handling program. This ensures that when the exception mode is enabled, registers in the user mode (saving the program running status) not damaged.
system mode : The system mode does not pass through the exception process, it has the same register as the user mode. However, the system mode is a privileged mode. You can access all system resources or directly switch the processor mode. It is mainly used by operating system tasks.