pcmpleq - 2024.2 English

MicroBlaze Processor Reference Guide (UG984)

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

Description

The contents of register rAL are compared with the contents in register rBL.

  • rD is loaded with 1 if they match, and 0 if not

Pseudocode

if (rBL) = (rAL) then
   (rD) ← 1
else
   (rD) ← 0

Registers Altered

  • rD

Latency

  • 1 cycle

Notes

  • This instruction is only available when the parameter C_USE_PCMP_INSTR is set to 1.