MMIX LOGO

MMIX Instruction Set

Table of Content

Content

Defining global Registers with GREG

Name:

GREG Expression

Description:

Allocates a new global register. The expression is evaluated and is used to initialize the global register before the program starts. If the value is not zero, mmixal assumes that the value is constant and can be used in address calculations.

Register $255 is always a global register. The first GREG will allocate $254 and the next $253, and so on.

An optional label can be used to give a name to the new global register.

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