Motorola MPC823e Reference Manual page 1253

Microprocessor for mobile computing
Table of Contents

Advertisement

MOTOROLA
Simplified mnemonics:
mfxer
r D
equivalent to
mflr
r D
equivalent to
mfctr
r D
equivalent to
In the PowerPC OEA, the SPR field denotes a special-purpose
register, encoded as shown in the table below. The contents of
the designated SPR are placed into r D. SPR[0] = 1 if and only if
reading the register is supervisor-level. Execution of this
instruction specifying a defined and supervisor-level register
when MSR[PR] = 1 will result in a priviledged instruction type
program exception.
If MSR[PR] = 1, the only effect of executing an instruction with
an SPR number that is not shown in the table below and has
SPR[0] = 1 is to cause a supervisor-level instruction type
program exception or an illegal instruction type program
exception. For all other cases, MSR[PR] = 0 or SPR[0] = 0. If the
SPR field contains any value that is not shown in the table, either
an illegal instruction type program exception occurs or the
results are boundedly undefined.
Other registers altered:
None
1
SPR
DECIMAL
SPR[5–9]
1
00000
8
00000
9
00000
18
00000
19
00000
22
00000
26
00000
27
00000
80
00010
81
00010
144
00100
145
00100
MPC823e REFERENCE MANUAL
MPC823e Instruction Set—mfspr
mfspr
mfspr
mfspr
REGISTER
NAME
SPR[0–4]
00001
XER
01000
LR
01001
CTR
10010
DSISR
10011
DAR
10110
DEC
11010
SRR0
11011
SRR1
2
10000
EIE
3
10001
EID
4
10000
CMPA
4
10001
CMPB
r D ,1
r D ,8
r D ,9
ACCESS
User
User
User
Supervisor
Supervisor
Supervisor
Supervisor
Supervisor
Supervisor
Supervisor
Supervisor
Supervisor
B-95

Advertisement

Table of Contents
loading

Table of Contents