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.
•
rD is loaded with 1 if they match, and 0 if not
Pseudocode
if (rB) = (rA) then
(rD)
else
(rD)
Registers Altered
•
rD
Latency
•
1 cycle
Note
This instruction is only available when the parameter C_USE_PCMP_INSTR is set to 1.
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
rD, rA, rB
equality comparison with a positive
boolean result
rD
rA
1
1
←
1
←
0
www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
rB
1 0 0 0 0 0 0 0 0 0 0
1
2
6
1
3
1
249
Send Feedback
Need help?
Do you have a question about the MicroBlaze and is the answer not in the manual?
Questions and answers