mrs

Move Status Register to Register

MRS<c> <Rd>, <spec_reg>

Reads CPSR or SPSR.

Details

The Move Status Register to Register instruction reads CPSR or SPSR.

Pseudocode Operation

Rd ← spec_reg

Example

MRS r0, nzcv

Encoding

Binary Layout
cond
00010
R
001111
Rd
00000000
 
Format System
Opcode 0x010F0000
Extension A32 (System)

Operands

  • Rd
    Destination general-purpose register
  • spec_reg
    CPSR/SPSR