MMIX LOGO

MMIX Instruction Set

Table of Content

Content

The LOC instruction

Name:

LOC Expression

Specification:
@ ← Expression

Description:

Defines the new current location in memory. The assembler always places instructions and data in memory at the current location, incrementing the current location as needed. The symbol @ ("The location where we are at") can be used for the current location in an expression.

In user mode, the program has access to four segments in main memory:
SegmentSymbolStart addressUse
Text Segment   #0

Program and static data

Data SegmentData_Segment #2000000000000000

variable Data

Pool Segment Pool_Segment #4000000000000000  
Stack Segment Stack_Segment#6000000000000000  

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