MMIX LOGO

MMIX Instruction Set

Table of Content

Content

2ADDU, 4ADDU, 8ADDU and 16ADDU

Name:
2ADDU $X,$Y,$Z 2ADDU $X,$Y,Z
4ADDU $X,$Y,$Z 4ADDU $X,$Y,Z
8ADDU $X,$Y,$Z 8ADDU $X,$Y,Z
16ADDU $X,$Y,$Z16ADDU $X,$Y,Z

Specification:

u($X) ← u($Y) × s + u($Z) or
u($X) ← u($Y) × s + u(Z)

were s = 2, 4, 8 or 16, depending on the instruction.

Timing:

sADDU: 1υ

Description:

The instructions sADDU are handy for address calculations with arrays of elements of size 2, 4, 8 or 16 byte.

2ADDU: "times 2 and add unsigned". The sum (2$Y + $Z) mod 264 or (2$Y + Z) mod 264 is placed into register $X.
4ADDU: "times 4 and add unsigned". The sum (4$Y + $Z) mod 264 or (4$Y + Z) mod 264 is placed into register $X.
8ADDU: "times 8 and add unsigned". The sum (8$Y + $Z) mod 264 or (8$Y + Z) mod 264 is placed into register $X.
16ADDU: "times 16 and add unsigned". The sum (16$Y + $Z) mod 264 or (16$Y + Z) mod 264 is placed into register $X.

See also:

ADDU and LDA.

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