![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 374](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279374.webp)
682
March 2002 Release
1-800-255-7778
Virtex-II Pro™ Platform FPGA Documentation
Chapter 11:
Instruction Set
R
mtcrf
Move to Condition Register Fields
Description
Some or all of the contents of register
r
S are loaded into the CR under the control of the
CRM field.
Each bit in the CRM field specifies a set of 4 bits in both the
r
S and CR registers. If a CRM
bit is set to 1, the specified set of bits in
r
S are copied into the corresponding CR bits. If a
CRM bit is cleared to 0, the specified set of bits in
r
S are not copied and the corresponding
CR bits are unchanged. The following table shows the relationship between the CRM field
and the
r
S and CR registers. The CR
n
field is shown for completeness.
See
, for more information on the CRM field and an
example of its use.
Simplified mnemonics defined for this instruction are described in
Pseudocode
mask
←
4
(CRM
0
)
||
4
(CRM
1
)
||
...
||
4
(CRM
6
)
||
4
(CRM
7
)
(CR)
←
((
r
S)
∧
mask)
∨
((CR)
∧ ¬
mask)
Registers Altered
•
CR.
mtcrf
CRM,
r
S
XFX Instruction Form
31
r
S
0
CRM
0
144
0
0
6
1
1
1
2
2
0
2
1
3
1
CRM Bit Number
r
S
Bits
CR Bits
CR
n
Field
0
0:3
0:3
CR0
1
4:7
4:7
CR1
2
8:11
8:11
CR2
3
12:15
12:15
CR3
4
16:19
16:19
CR4
5
20:23
20:23
CR5
6
24:27
24:27
CR6
7
28:31
28:31
CR7
Содержание 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...