O'Reilly logo

The Art of Computer Programming: MMIX - A RISC Computer for the New Millennium, Volume 1, Fascicle 1 by Donald E. Knuth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises — First set

1. [05] (a) What is the meaning of ‘4B’ in line 29 of Program P? (b) Would the program still work if the label of line 24 were changed to ‘2H’ and the EXPR field of line 29 were changed to ‘r,2B’?

2. [10] Explain what happens if an MMIXAL program contains several instances of the line

Image

and no other occurrences of 9H.

Image    3. [23] What is the effect of the following program?

Image

4. [10] What is the value of the constant #112233445566778899 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required