MMIX LOGO

MMIX Instruction Set

Table of Content

Content

Bitwise Logical Operations

Name:
AND $X,$Y,$Z AND $X,$Y,Z
OR $X,$Y,$Z OR $X,$Y,Z
XOR $X,$Y,$Z XOR $X,$Y,Z
ANDN $X,$Y,$ZANDN $X,$Y,Z
ORN $X,$Y,$Z ORN $X,$Y,Z
NAND $X,$Y,$ZNAND $X,$Y,Z
NOR $X,$Y,$Z NOR $X,$Y,Z
NXOR $X,$Y,$ZNXOR $X,$Y,Z

Specification:

In the following table a is used for a bit from the source operand $Y and b for the corresponding bit in the source operand $Z (or Z). The other columns show the corresponding result bit.

abAND(&)OR(|)XOR(ˆ) NAND( ˜ & )NOR(˜ |)NXOR(˜ ˆ) ANDN(\)ORN(|˜ )
00 0 0 0 1 1 1 0 1
10 0 1 1 1 0 0 1 1
01 0 1 1 1 0 0 0 0
11 1 1 0 0 0 1 0 1

Timing:

Description:

The specified operation is executed in parallel on each of the 64 bits of the two source operands which yields 64 result bits.

Please help to keep this site up to date! If you want to point out important material or projects that are not listed here, if you find errors or want to suggest improvements, please send email to email