Simplified Mnemonics for PowerPC Instructions
PowerPC e500 Core Family Reference Manual, Rev. 1
Freescale Semiconductor
C-25
located at offset d
v
bytes from the address in r
v,
and the assembler has been told to use r
v
as a
base for references to the data structure containing
v
, the following line causes the address of
v
to
be loaded into rD:
la rD,
v
equivalent to
addi rD,r
v
,d
v
C.9.4
Move Register (mr)
Several instructions can be coded to copy the contents of one register to another. A simplified
mnemonic is provided that signifies that no computation is being performed, but merely that data
is being moved from one register to another.
The following instruction copies the contents of rS into rA. This mnemonic can be coded with a
dot (.) suffix to cause the Rc bit to be set in the underlying instruction.
mr rA,rS
equivalent to
or rA,rS,rS
C.9.5
Complement Register (not)
Several instructions can be coded in a way that they complement the contents of one register and
place the result into another register. A simplified mnemonic is provided that allows this operation
to be coded easily.
The following instruction complements the contents of rS and places the result into rA. This
mnemonic can be coded with a dot (.) suffix to cause the Rc bit to be set in the underlying
instruction.
not rA,rS
equivalent to
nor rA,rS,rS
C.9.6
Move to Condition Register (mtcr)
This mnemonic permits copying the contents of a GPR to the CR, using the same syntax as the
mfcr instruction.
mtcr rS
equivalent to
mtcrf 0xFF,rS
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...