EasyManua.ls Logo

AMCC PPC405 - Page 347

Default Icon
450 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AMCC Proprietary 347
Revision 1.02 - September 10, 2007
PPC405 Processor
wrtee
Write External Enable
Preliminary User’s Manual
wrtee
Write External Enable
MSR[EE] (RS)
16
The MSR[EE] is set to the value specified by bit 16 of register RS.
If instruction bit 31 contains 1, the contents of CR[CR0] are undefined.
Registers Altered
MSR[EE]
Invalid Instruction Forms:
Reserved fields
Programming Note
Execution of this instruction is privileged.
This instruction is used to provide atomic update of MSR[EE]. Typical usage is:
mfmsr Rn #save EE in Rn[16]
wrteei 0 #Turn off EE
#Code with EE disabled
wrtee Rn #restore EE without affecting any MSR changes that occurred in the disabled code
Architecture Note
This instruction part of the PowerPC Embedded Operating Environment.
wrtee RS
31 RS
131
0 6 11 21 31

Table of Contents