6-10
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part II. PowerPC Microprocessor Module
For more information refer to Appendix F, ÒSimplified Mnemonics,Ó in The Programming
Environments Manual.
6.2.4.1.3 Integer Logical Instructions
The logical instructions shown in Table 6-4 perform bit-parallel operations. Logical
instructions with the CR update enabled and instructions andi. and andis. set CR Þeld CR0
to characterize the result of the logical operation. These Þelds are set as if the sign-extended
low-order 32 bits of the result were algebraically compared to zero. Logical instructions
without CR update and the remaining logical instructions do not modify the CR. Logical
instructions do not affect the XER[SO], XER[OV], and XER[CA] bits.
For simpliÞed mnemonics examples for the integer logical operations see Appendix F,
ÒSimplified Mnemonics,Ó in The Programming Environments Manual.
6.2.4.1.4 Integer Rotate and Shift Instructions
Rotation operations are performed on data from a GPR, and the result, or a portion of the
result, is returned to a GPR. See Appendix F, ÒSimplified Mnemonics,Ó in The
Programming Environments Manual for a complete list of simpliÞed mnemonics that
allows simpler coding of often-used functions such as clearing the leftmost or rightmost
Table 6-4. Integer Logical Instructions
Name Mnemonic
Syntax
AND Immediate
andi.
r
A
,r
S
,
UIMM
AND Immediate Shifted
andis.
r
A
,r
S
,
UIMM
OR Immediate
ori
r
A
,r
S
,
UIMM
OR Immediate Shifted
oris
r
A
,r
S
,
UIMM
XOR Immediate
xori
r
A
,r
S
,
UIMM
XOR Immediate Shifted
xoris
r
A
,r
S
,
UIMM
AND
and
(
and.
)
r
A
,r
S
,r
B
OR
or
(
or.
)
r
A
,r
S
,r
B
XOR
xor
(
xor.
)
r
A
,r
S
,r
B
NAND
nand
(
nand.
)
r
A
,r
S
,r
B
NOR
nor
(
nor.
)
r
A
,r
S
,r
B
Equivalent
eqv
(
eqv.
)
r
A
,r
S
,r
B
AND with Complement
andc
(
andc.
)
r
A
,r
S
,r
B
OR with Complement
orc
(
orc.
)
r
A
,r
S
,r
B
Extend Sign Byte
extsb
(
extsb.
)
r
A
,r
S
Extend Sign Half Word
extsh
(
extsh.
)
r
A
,r
S
Count Leading Zeros Word
cntlzw
(
cntlzw.
)
r
A
,r
S
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......