Compare Unsigned Quadword Less Than (cmpult)

Syntax

cmpult $s_reg1, $s_reg2, $d_reg

cmpult $d_reg/$s_reg1, $s_reg2

cmpult $s_reg1, val_immed, $d_reg

cmpult $d_reg/$s_reg1, val_immed

Description

Compare Unsigned Quadword Less Than compares two unsigned 64-bit values. If the contents of $s_reg1 is less than the contents of $s_reg2 or the immediate value, this instruction sets the destination register to 1. Otherwise, the destination register is set to zero.