![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 261](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279261.webp)
March 2002 Release
569
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
R
Chapter 11
Instruction Set
This chapter lists the PPC405 instructions in alphabetical order by mnemonic.
shows an example format for an instruction description.
Each instruction description contains the following information shown in
Mnemonic
—A short, single-word name for the base instruction. Throughout this
document, instruction mnemonics are shown in lowercase bold (e.g.
add
).
Name
—The descriptive name for the instruction. For example, the descriptive name for
the
srawi
instruction is
Shift Right Algebraic Word Immediate
.
Figure 11-1:
Instruction Description Format
UG011_50_033101
add
Add
Description
The sum of the contents of register
r
A and register
r
B is loaded into register
r
D.
Pseudocode
(rD)
←
(rA) + (rB)
Registers Altered
•
r
D.
•
CR[CR0]
LT,GT,EQ,SO
if Rc=1.
•
XER[SO,OV] if OE=1.
If an overflow occurs, it is possible the contents of CR0 do not reflect the infinitely-
precise result.
Exceptions
•
None
Compatibility
This instruction is defined by the PowerPC user instruction-set architecture (UISA). It is
implemented by all PowerPC processors.
add
rD, rA, rB
(OE=0, Rc=0)
add.
rD, rA, rB
(OE=0, Rc=1)
addo
rD, rA, rB
(OE=1, Rc=0)
addo.
rD, rA, rB
(OE=1, Rc=1)
XO Instruction Form
31
rD
rA
rB
OE
266
Rc
0
6
11
16
21 22
31
Mnemonic
Name
Syntax
Form
Encoding
Description
Pseudocode
Registers Altered
Exceptions
Compatibility
Содержание Virtex-II Pro PPC405
Страница 1: ...R Volume 2 a PPC405 User Manual Virtex II Pro Platform FPGA Developer s Kit March 2002 Release...
Страница 14: ...322 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation Preface R...
Страница 252: ...560 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 260: ...568 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 562: ...870 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...