4.4.6 Integer Unsigned Compare

Format:

CMPUxx

Ra.rq,Rb.rq,Rc.wq

!Operate format

CMPUxx

Ra.rq,#b.ib,Rc.wq

!Operate format

Operation:

IF Rav UNSIGNED_RELATION Rbv THEN

Rc 1

ELSE

Rc 0

Exceptions:

 

None

 

Instruction mnemonics:

 

CMPULE

Compare Unsigned Quadword Less Than or Equal

CMPULT

Compare Unsigned Quadword Less Than

Qualifiers:

 

None

 

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.

4–30Alpha Architecture Handbook

Page 86
Image 86
Compaq ECQD2KCTE manual Integer Unsigned Compare, Cmpule