as: MMIX-Syntax

1 
1 9.28.3 Syntax
1 -------------
1 
1 The assembly syntax is supposed to be upward compatible with that
1 described in Sections 1.3 and 1.4 of 'The Art of Computer Programming,
1 Volume 1'.  Draft versions of those chapters as well as other MMIX
1 information is located at
1 <http://www-cs-faculty.stanford.edu/~knuth/mmix-news.html>.  Most code
1 examples from the mmixal package located there should work unmodified
1 when assembled and linked as single files, with a few noteworthy
1 exceptions (⇒MMIX-mmixal).
1 
1    Before an instruction is emitted, the current location is aligned to
1 the next four-byte boundary.  If a label is defined at the beginning of
1 the line, its value will be the aligned value.
1 
1    In addition to the traditional hex-prefix '0x', a hexadecimal number
1 can also be specified by the prefix character '#'.
1 
1    After all operands to an MMIX instruction or directive have been
1 specified, the rest of the line is ignored, treated as a comment.
1 

Menu