35.3.2.2. INTEGER LOGICAL ON ALPHA




Alpha Operate Format
+-------------------------+------------------------+
| 31..26	Opcode	  | 31..26	Opcode	   |
| 25..21	Ra	  | 25..21	Ra	   |
| 20..16	Rb	  | 20..13	LIT        |
| 15..13	SBZ	  | 12		1          |
| 12		0	  | 11..5	Function   |	
| 11..5		Function  | 4..0	Rc         |
| 4..0		Rc        |                        |
+-------------------------+------------------------+


Logical	Product
	AND	Ra.rq,Rb.rq,Rc.wq	!Operate Format
	AND	Ra.rq,#b.ib,Rc.wq	!Operate Format

	Rc <- Rav AND Rbv


Logical	Product with Complement
	BIC	Ra.rq,Rb.rq,Rc.wq	!Operate Format
	BIC	Ra.rq,#b.ib,Rc.wq	!Operate Format

	Rc <- Rav AND { NOT Rbv }


Logical Sum (OR)
	BIS	Ra.rq,Rb.rq,Rc.wq	!Operate Format
	BIS	Ra.rq,#b.ib,Rc.wq	!Operate Format

	Rc <- Rav OR Rbv 


Logical Equivalence (XORNOT)
	EQV	Ra.rq,Rb.rq,Rc.wq	!Operate Format
	EQV	Ra.rq,#b.ib,Rc.wq	!Operate Format

	Rc <- Rav XOR { NOT Rbv }


Logical Sum with Complement
 	ORNOT	Ra.rq,Rb.rq,Rc.wq	!Operate Format
	ORNOT	Ra.rq,#b.ib,Rc.wq	!Operate Format

	Rc <- Rav OR { NOT Rbv }


Logical Difference
	XOR	Ra.rq,Rb.rq,Rc.wq	!Operate Format
	XOR	Ra.rq,#b.ib,Rc.wq	!Operate Format

	Rc <- Rav XOR Rbv 


	AND	11.00
	BIC	11.08
	BIS	11.20
	EQV	11.48
	ORNOT	11.28
	XOR	11.40


Note:
	NOT can be performaed as ORNOT with zero (Ra = R31).

		

// ----------------------------------------------------------------------


Index Prev Next