pcmpne - 2024.2 English

MicroBlaze Processor Reference Guide (UG984)

Document ID
UG984
Release Date
2024-11-27
Version
2024.2 English
Figure 1. pcmpne

Description

The contents of register rA are 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.