EasyManua.ls Logo

AMCC PPC405 - B.14 Processor Management Instructions

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 429
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
B.14 Processor Management Instructions
The processor management instructions move data between GPRs and SPRs and DCRs in the PPC405; these
instructions also provide traps, system calls and synchronization controls.
Table B-15. Processor Management Instructions
Mnemonic Operands Function
Other Registers
Changed
Page
eieio Storage synchronization. All loads and stores that precede the eieio
instruction complete before any loads and stores that follow the
instruction access main storage.
Implemented as sync, which is more restrictive.
215
isync Synchronize execution context by flushing the prefetch queue. 224
mcrxr BF Move XER[0:3] into field CRn, where nBF.
CR[CRn]
(XER[SO, OV, CA]).
(XER[SO, OV, CA])
3
0.
262
mfcr RT Move from CR to RT,
(RT) (CR).
263
mfdcr RT, DCRN Move from DCR to RT,
(RT) (DCR(DCRN)).
264
mfspr RT, SPRN Move from SPR to RT,
(RT) (SPR(SPRN)).
265
mtcrf FXM, RS Move some or all of the contents of RS into CR as specified by FXM
field,
mask
4
(FXM
0
) ||
4
(FXM
1
) || ... ||
4
(FXM
6
) ||
4
(FXM
7
).
(CR)((RS) mask) (CR) ∧¬mask).
269
mtdcr DCRN, RS Move to DCR from RS,
(DCR(DCRN))
(RS).
270
mtspr SPRN, RS Move to SPR from RS,
(SPR(SPRN)) (RS).
271
sc System call exception is generated.
(SRR1) (MSR)
(SRR0)
(PC)
PC
EVPR
0:15
|| 0x0C00
(MSR[WE, PR, EE, PE, DR, IR])
0
303
sync Synchronization. All instructions that precede sync complete before
any instructions that follow sync begin.
When sync completes, all storage accesses initiated before sync
will have completed.
333
tw TO, RA, RB Trap exception is generated if, comparing (RA) with (RB), any
condition specified by TO is true.
341
twi TO, RA, IM Trap exception is generated if, comparing (RA) with EXTS(IM), any
condition specified by TO is true.
344

Table of Contents