Compaq ECQD2KCTE manual Logical Functions

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 98
Image 98

4.5.1 Logical Functions

Format:

mnemonicRa.rq,Rb.rq,Rc.wq

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

Operation:

Rc Rav AND Rbv

!AND

Rc Rav OR Rbv

!BIS

Rc Rav XOR Rbv

!XOR

Rc Rav AND {NOT Rbv}

!BIC

Rc Rav OR {NOT Rbv}

!ORNOT

Rc Rav XOR {NOT Rbv}

!EQV

Exceptions:

 

None

 

Instruction mnemonics:

 

AND

Logical Product

BIC

Logical Product with Complement

BIS

Logical Sum (OR)

EQV

Logical Equivalence (XORNOT)

ORNOT

Logical Sum with Complement

XOR

Logical Difference

!Operate format

!Operate format

Qualifiers:

None

Description:

These instructions perform the designated Boolean function between register Ra and register Rb or a literal. The result is written to register Rc.

The NOT function can be performed by doing an ORNOT with zero (Ra = R31).

4–42Alpha Architecture Handbook

Page 98
Image 98
Compaq ECQD2KCTE manual Logical Functions