Compaq ECQD2KCTE Laptop User Manual


 
Instruction Descriptions 4–29
4.4.5 Integer Signed Compare
Format:
Operation:
IF Rav SIGNED_RELATION Rbv THEN
Rc 1
ELSE
Rc 0
Exceptions:
Instruction mnemonics:
Qualifiers:
Description:
Register Ra is compared to Register Rb or a literal. If the specified relationship is true, the
value one is written to register Rc; otherwise, zero is written to Rc.
Notes:
Compare Less Than A,B is the same as Compare Greater Than B,A; Compare Less
Than or Equal A,B is the same as Compare Greater Than or Equal B,A. Therefore, only
the less-than operations are included.
CMPxx Ra.rq,Rb.rq,Rc.wq
!Operate format
CMPxx Ra.rq,#b.ib,Rc.wq
!Operate format
None
CMPEQ Compare Signed Quadword Equal
CMPLE Compare Signed Quadword Less Than or Equal
CMPLT Compare Signed Quadword Less Than
None