pcmpne
Pattern Compare Not Equal
rD, rA, rB
pcmpne
1 0 0 0 1 1
0
6
Description
The contents of register rA is compared with the contents in register rB.
•
rD is loaded with 0 if they match, and 1 if not
Pseudocode
if (rB) = (rA) then
←
(rD)
0
else
←
(rD)
1
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 (v2018.2) June 21, 2018
equality comparison with a negative boolean result
rD
rA
11
www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
rB
1 0 0 0 0 0 0 0 0 0 0
16
21
31
269
Send Feedback