pcmpeq
Pattern Compare Equal
pcmpeq
1 0 0 0 1 0
0
6
Description
The contents of register rA is compared with the contents in register rB.
•
Pseudocode
Registers Altered
•
Latency
•
Note
This instruction is only available when the parameter C_USE_PCMP_INSTR is set to 1.
MicroBlaze Processor Reference Guide
UG081 (v14.7)
rD, rA, rB
rD
rA
1
1
rD is loaded with 1 if they match, and 0 if not
if (rB) = (rA) then
←
(rD)
1
else
←
(rD)
0
rD
1 cycle
www.xilinx.com
equality comparison with a positive boolean
result
rB
1 0 0 0 0 0 0 0 0 0 0
1
2
6
1
Instructions
3
1
229
Send Feedback
Need help?
Do you have a question about the MicroBlaze and is the answer not in the manual?