MMIX LOGO

MMIX Instruction Set

Table of Content

Content

INCH, INCMH, INCML, and INCL

Name:

INCH $X,YZ
INCMH $X,YZ
INCML $X,YZ
INCL $X,YZ

Specification:
INCH: u($X) ← (u($X) + YZ × 248) mod 264
INCMH: u($X) ← (u($X) + YZ × 232) mod 264
INCML: u($X) ← (u($X) + YZ × 216) mod 264
INCL: u($X) ← (u($X) + YZ) mod 264

Timing:

Description:

This collection of increment instructions will first shift the 16-bit immediate value to the left by 6, 4, 2, or 0 byte before adding it to $X.

INCH | INCMH | INCML | INCLThe 16-bit unsigned number YZ is shifted left by either 48 or 32 or 16 or 0 bits, respectively, and added to register $X, ignoring overflow; the result is placed back into register $X. If YZ is the hexadecimal constant #8000, the command INCH $X,YZ complements the most significant bit of register $X. This can be used to negate a floating point number.

See also:

ORH, ANDNH, and SETH.

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