Table 3–7: Operators (Continued)

Operator

Meaning

 

 

NOT

Logical (ones) complement

OR

Logical sum

PHYSICAL_ADDRESS

Translation of a virtual address

PRIORITY_ENCODE

Returns the bit position of most significant set bit, inter-

 

preting its argument as a positive integer (=int(lg(x))). For

 

example:

 

 

priority_encode( 255 ) = 7

Relational Operators:

 

 

 

 

 

 

 

 

Operator

Meaning

 

 

 

 

 

LT

Less than signed

 

LTU

Less than unsigned

 

LE

Less or equal signed

 

LEU

Less or equal unsigned

 

EQ

Equal signed and unsigned

 

NE

Not equal signed and unsigned

 

GE

Greater or equal signed

 

GEU

Greater or equal unsigned

 

GT

Greater signed

 

GTU

Greater unsigned

 

LBC

Low bit clear

 

LBS

Low bit signed

 

 

 

RIGHT_SHIFT(x,y)

Logical right shift of first operand by the second operand.

 

Y is an unsigned shift value. Zeros are moved into

 

vacated bit positions, and shifted out bits are discarded.

SEXT(x)

X is sign-extended to the required size.

STORE_CONDITIONAL

If the lock_flag is set, then do the indicated store and clear

 

the lock_flag.

 

 

 

 

 

 

Instruction Formats 3–9

Page 49
Image 49
Compaq ECQD2KCTE manual Not, Physicaladdress, Priorityencode, Ltu, Leu, Geu, Gtu, Lbc, Lbs, Storeconditional