![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 285](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279285.webp)
March 2002 Release
593
Virtex-II Pro™ Platform FPGA Documentation
1-800-255-7778
Alphabetical Instruction Listing
R
cmpi
Compare Immediate
Description
The SIMM field is sign-extended to 32 bits. A 32-bit signed comparison is performed
between the contents of register
r
A and the sign-extended SIMM field.
crf
D specifies
which CR field is updated to reflect the comparison results. The value of XER[SO] is loaded
into the same CR field.
Simplified mnemonics defined for this instruction are described in
Pseudocode
c
0:3
←
0b0000
if (
r
A) < EXTS(SIMM)then
c
0
←
1
if (
r
A) > EXTS(SIMM)then
c
1
←
1
if (
r
A)
=
EXTS(SIMM)then
c
2
←
1
c
3
←
XER[SO]
n
←
crf
D
CR[CRn]
←
c
0:3
Registers Altered
•
CR[CR
n
] as specified by the
crf
D field.
Exceptions
•
None.
Execution of any of the following invalid-instruction forms results in a boundedly-
undefined result rather than a program exception:
•
Reserved bits containing a non-zero value.
Compatibility
This instruction is defined by the PowerPC user instruction-set architecture (UISA). It is
implemented by all PowerPC processors.
cmpi
crf
D, 0,
r
A, SIMM
D Instruction Form
11
crf
D
0
0
r
A
SIMM
0
6
9
11
16
31
Содержание 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...