7 operating modes of arm Processors

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.