Download MPC603e RISC Microprocessor User`s Manual

Transcript
Instruction Set Summary
Freescale Semiconductor, Inc.
Ordering” in Chapter 3, “Operand Conventions,” in the Programming Environments
Manual for more information.
Table 2-25 lists the integer load and store string instructions.
Table 2-25. Integer Load and Store String Instructions
Freescale Semiconductor, nc...
I
Name
Mnemonic
Operand Syntax
Load String Word Immediate
lswi
rD,rA,NB
Load String Word Indexed
lswx
rD,rA,rB
Store String Word Immediate
stswi
rS,rA,NB
Store String Word Indexed
stswx
rS,rA,rB
Load string and store string instructions may involve operands that are not word-aligned.
As described in “Alignment Exception (0x00600)” in Chapter 6, “Exceptions,” in the
Programming Environments Manual, a misaligned string operation suffers a performance
penalty compared to a word-aligned operation of the same type.
When a string operation crosses a 4-Kbyte boundary, the instruction may be interrupted by
a DSI exception associated with the address translation of the second page. In this case, the
MPC603e performs some or all memory references from the first page and none from the
second before taking the exception. On return from the DSI exception, the load or store
string instruction will re-execute from the beginning. For more information, refer to “DSI
Exception (0x00300)” in Chapter 6, “Exceptions,” in the Programming Environments
Manual.
Implementation Note—If rA is in the range of registers to be loaded for a Load String
Word Immediate (lswi) instruction or if either rA or rB is in the range of registers to be
loaded for a Load String Word Indexed (lswx) instruction, the PowerPC architecture
defines the instruction to be of an invalid form. In addition, the lswx and stswx instructions
that specify a string length of zero are defined to be invalid by the PowerPC architecture.
However, none of these cases hold true for the MPC603e—the MPC603e treats these cases
as valid forms.
2.3.4.3.8
Floating-Point Load and Store Address Generation
Floating-point load and store operations generate effective addresses using the register
indirect with immediate index addressing mode and register indirect with index addressing
mode (details are described below). Floating-point loads and stores are not supported for
direct-store accesses. The use of the floating-point load and store operations for direct-store
accesses results in a DSI exception.
2.3.4.3.9
Floating-Point Load Instructions
Separate floating-point load instructions are used for single-precision and double-precision
operands. Because FPRs support only double-precision format, the FPU converts
MPC603e RISC Microprocessor User’s Manual
For More Information On This Product,
Go to: www.freescale.com