MMIX LOGO

MMIX Instruction Set

Table of Content

Content

Loading Signed Integers

Name:
LDB $X,$Y,$ZLDB $X,$Y,ZLoad Byte/Load Byte Immediate
LDW $X,$Y,$ZLDW $X,$Y,ZLoad Wyde/Load Wyde Immediate
LDT $X,$Y,$ZLDT $X,$Y,ZLoad Tetra/Load Tetra Immediate
LDO $X,$Y,$ZLDO $X,$Y,ZLoad Octa/Load Octa Immediate

Specification:

With A ← $Y+$Z respectively A ← $Y+Z we have:
LDB: s($X) ← s(M1[A])
LDW: s($X) ← s(M2[A])
LDT: s($X) ← s(M4[A])
LDO: s($X) ← s(M8[A])
Timing:

μ + υ

Description:

Loads one byte, wyde, tetrabyte, or octabyte. The target register $X is padded to the left using the sign bit.

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.

You may study the following visual examples to get a better understanding of how to Load Data.

Register indirect adressingIndexed addressingIndexed addressing
{ {

See also:

Loading Unsigned Data.

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