EasyManua.ls Logo

Xilinx MicroBlaze - Page 267

Xilinx MicroBlaze
316 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MicroBlaze Processor Reference Guide 268
UG984 (v2018.2) June 21, 2018 www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
pcmpeq
Pattern Compare Equal
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 11 16 21
31
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.
Send Feedback

Table of Contents

Other manuals for Xilinx MicroBlaze

Related product manuals