I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)


From Rosetta Code

MMIX 2009[edit]

A RISC computer for the third millennium

This programming language may be used to instruct a computer to perform a task.

Listed below are all of the tasks on Rosetta Code which have been solved using MMIX.
Your Help Needed
If you know MMIX, please write code for some of the tasks not implemented in MMIX.

Knuth's home page about MMIX says:

MMIX is a machine that operates primarily on 64-bit words. It has 256 general-purpose 64-bit registers that each can hold either fixed-point or floating-point numbers. Most instructions have the 4-byte form ‘OP X Y Z’, where each of OP, X, Y, and Z is a single 8-bit byte. For example, if OP is the code for ADD the meaning is “X=Y+Z”; i.e., “Set register X to the contents of register Y plus the contents of register Z.” The 256 possible OP codes fall into a dozen or so easily remembered categories.

Playing with MMIX[edit]

In order to work with MMIX you'll have to download and install MMIXware . This provides you with a simple simulator, assembler, test programs, and full documentation, plus the meta-simulator.


Everything you need to know about MMIX can be found at Donald Knuth's home page [1]

Visit also Knuth's MMIX News