The cmp Statement
The cmp statement lets you compare two different input sources. The output (second) argument must be a variable but the remaining arguments can be a variable, a numeric constant, or a constant expression. The syntax of the cmp statement is shown below.
cmp EQ, bXEqualsY, x, y // bXEqualsY = (x == y);