Samsung S3C2500B User Manual page 132

Table of Contents

Advertisement

INSTRUCTION SET
MRS (Transfer PSR Contents to a Register)
31
28
27
Cond
MRS (Transfer Register Contents to PSR)
31
28
27
Cond
MRS (Transfer Register Contents or Immediate Value to PSR Flag Bits Only)
31
28
27
Cond
00
3-20
23
22
21
Ps
00010
001111
[15:21] Destination Register
[19:16] Source PSR
0 = CPSR
[31:28] Condition Field
23
22
21
Pd
00010
[3:0] Source Register
[22] Destination PSR
0 = CPSR
[31:28] Condition Field
26 25 24
23
22
21
Pd
I
10
[22] Destination PSR
0 = CPSR
[25] Immediate Operand
0 = Source operand is a register
1 = SPSR_<current mode>
[11:0] Source Operand
11
00000000
[3:0] Source Register
[11:4] Source operand is an immediate value
11
8 7
Rotate
[7:0] Unsigned 8 bit immediate value
[11:8] Shift applied to Imm
[31:28] Condition Field
Figure 3-11. PSR Transfer
16
15
12
11
Rd
1 = SPSR_<current mode>
12
11
101001111
1 = SPSR_<current mode>
12
11
101001111
1 = SPSR_<current mode>
4 3
0
Rm
0
Imm
000000000000
4 3
00000000
Rm
Source operand
S3C2500B
0
0
0

Advertisement

Table of Contents
loading

Table of Contents