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


and no other occurrences of 9H.

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


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

Get The Art of Computer Programming: MMIX - A RISC Computer for the New Millennium, Volume 1, Fascicle 1 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.