MMIX LOGO

MMIX Instruction Set

Table of Content

Content

Storing Unsigned Data

Name:
STBU $X,$Y,$ZSTBU $X,$Y,Z
STWU $X,$Y,$ZSTWU $X,$Y,Z
STTU $X,$Y,$ZSTTU $X,$Y,Z
STOU $X,$Y,$ZSTOU $X,$Y,Z

Specification:

With A ← $Y+$Z respectively A ← $Y+Z we have:
STBU: u(M1[A]) ← u($X) mod 28
STWU: u(M2[A]) ← u($X) mod 216
STTU: u(M4[A]) ← u($X) mod 232
STOU: u(M8[A]) ← u($X)

Timing:

1μ + 1υ

Description:

Writes one byte, wyde, tetrabyte, or octabyte to main memory. No overflow will occur.

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:

Storing 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