Category:MMIX: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Make prettier)
(Turned off HoPL reference.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''MMIX 2009'''
==MMIX 2009==


A RISC computer for the third millennium
A RISC computer for the third millennium


{{language
{{implementation|Assembly}}
|hopl=no
Everything you need to know about MMIX can be found at Donald Knuth's home page [http://www-cs-faculty.stanford.edu/~knuth/mmix.html]
}}
[[Category:Assembly]]
[[Category:Assembler language]]


Knuth's home page about MMIX says:
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.''
:''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==

In order to work with MMIX you'll have to download and install [http://www-cs-faculty.stanford.edu/~knuth/programs/mmix-20090321.tar.gz MMIXware] . This provides you with a simple simulator, assembler, test programs, and full documentation, plus the meta-simulator.

==Information==
Everything you need to know about MMIX can be found at Donald Knuth's home page [http://www-cs-faculty.stanford.edu/~knuth/mmix.html]

Visit also [http://www-cs-faculty.stanford.edu/~knuth/mmix-news.html Knuth's MMIX News]

Latest revision as of 01:23, 20 June 2021

MMIX 2009

A RISC computer for the third millennium

Language
MMIX
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.

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

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.

Information

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

Visit also Knuth's MMIX News

Subcategories

This category has the following 3 subcategories, out of 3 total.