srs

Store Return State

SRS<c> SP{!}, #<mode>

Stores LR and SPSR to the stack of a specific mode.

Details

The Store Return State instruction stores LR and SPSR to the stack of a specific mode.

Pseudocode Operation

// Stores LR and SPSR to the stack of a specific mode

Example

SRS SP!, #ia

Encoding

Binary Layout
11111000
P
U
1
W
0
1101
00000
mode
 
Format System
Opcode 0xF8CD0500
Extension A32 (System)

Operands

  • mode
    Mode