MicroBlaze Processor Reference Guide
229
UG081 (v14.7)
Instructions
pcmpeq
Pattern Compare Equal
Description
The contents of register rA is compared with the contents in register rB.
•
rD is loaded with 1 if they match, and 0 if not
Pseudocode
if (rB) = (rA) then
(rD)
←
1
else
(rD)
←
0
Registers Altered
•
rD
Latency
•
1 cycle
Note
This instruction is only available when the parameter
C_USE_PCMP_INSTR
is set to 1.
pcmpeq
rD, rA, rB
equality comparison with a positive boolean
result
1 0 0 0 1 0
rD
rA
rB
1 0 0 0 0 0 0 0 0 0 0
0
6
1
1
1
6
2
1
3
1
Содержание MicroBlaze
Страница 1: ...MicroBlaze Processor Reference Guide Embedded Development Kit EDK 14 7 UG081 v14 7...
Страница 4: ...MicroBlaze Processor Reference Guide www xilinx com UG081 v14 7...
Страница 8: ...8 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Chapter 1 Introduction Send Feedback...
Страница 262: ...262 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Send Feedback...