Instructions

pcmpne

Pattern Compare Not Equal

 

 

pcmpne

rD, rA, rB

equality comparison with a negative

 

 

 

boolean result

R

1 0 0 0 1 1

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 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

MicroBlaze Processor Reference Guide

www.xilinx.com

125

UG081 (v6.0) June 1, 2006

1-800-255-7778

 

Page 125
Image 125
Xilinx EDK 8.2i manual Pattern Compare Not Equal Pcmpne