MMIX LOGO

MMIX Instruction Set

Table of Content

Content

Loading Unsigned Data

Name:
LDBU $X,$Y,$ZLDBU $X,$Y,Z
LDWU $X,$Y,$ZLDWU $X,$Y,Z
LDTU $X,$Y,$ZLDTU $X,$Y,Z
LDOU $X,$Y,$ZLDOU $X,$Y,Z

Specification:

With A ← $Y+$Z respectively A ← $Y+Z we have:
LDBU: u($X) ← u(M1[A])
LDWU: u($X) ← u(M2[A])
LDTU: u($X) ← u(M4[A])
LDOU: u($X) ← u(M8[A])

Timing:

1μ + 1υ

Description:

Loads one byte, wyde, tetrabyte, or octabyte. The value is padded with zeros to the left to fill the 64-bit target register $X.

The address A is rounded down, if necessary, according to the alignment requirements. Addresses for octabytes must be a multiple of 8, for tetrabytes a multiple of 4, and for wydes a multiple of 2.

See also:

Loading Signed Integers.

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