ARM instruction Set

Source: Internet
Author: User
MRS and MSR Instructions

The status flag in the MRS (move PSR to general-purpose Register) procedure status register (program state REGISTER,PSR) is read into the Universal Register, MSR (move general-purpose Register to PSR) writes the flag to the program status register. These two instructions can be used in the current program status register (CPSR) or in the Saved program status register (SPSR). For example:

MRS R0, Cpsrmrs R1, SPSRMSR PSR, R7
BIC directives

The BIC is used to place the specified bits in the register 0 (bit clear). For example:

 and  not #0xFF000000

The high 8 bits of the R3 register are zeroed and the result is stored in the R2 register.

ARM instruction Set

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.