taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Learn · Volume 1 · in the Volume 1 course

Section 1.3.1. Description of MIX

26 exercises: 26 with a written solution, 0 stated in Lean, 0 proved in Lean.

1. Read first

The companion chapter builds on these. Read the ones you do not know yet.

2. Read the section

Read Section 1.3.1 in your copy of the book. Then read the companion chapter Description of MIX (a draft): it explains each item in the words of the handbook, with examples and proofs. The items of the section and their status.

3. Work the exercises

The exercises of Section 1.3.1 train the exact reading of the MIX machine: the byte and the word, the instruction format, the effect of each operator on the registers and on the two indicators, and the writing of short programs under hard limits of space and time. A good order is 1.3.1-1 to 1.3.1-4 (bytes and fields), then 1.3.1-5, 1.3.1-6, 1.3.1-12, 1.3.1-13 and 1.3.1-15 (reading and writing instructions), then 1.3.1-7 to 1.3.1-11 (exact rules of DIV and lists of operators), then 1.3.1-14, 1.3.1-16, 1.3.1-20 and 1.3.1-24 (programs with one idea), then 1.3.1-17 to 1.3.1-19, 1.3.1-21 and 1.3.1-23 (traces and tricks), and last 1.3.1-22, 1.3.1-25 and 1.3.1-26 (space and time optimization, design of an extension and the card loader).

From the Solutions volume of the handbook. The source.

The list starts with the lowest rating. Try each exercise on paper first. Its page has the hints one at a time, the solution behind a click, and the Lean status.

ExerciseRatingKindSolutionLean
1.3.1-100K3writtennot stated yet
1.3.1-400informalwrittennot stated yet
1.3.1-202K3writtennot stated yet
1.3.1-302K3writtennot stated yet
1.3.1-510K3writtennot stated yet
1.3.1-610K8writtennot stated yet
1.3.1-1210K3writtennot stated yet
1.3.1-1310K2writtennot stated yet
1.3.1-1510K3writtennot stated yet
1.3.1-1914K8writtennot stated yet
1.3.1-7M15K8writtennot stated yet
1.3.1-815K8writtennot stated yet
1.3.1-915K3writtennot stated yet
1.3.1-1015K3writtennot stated yet
1.3.1-1115K3writtennot stated yet
1.3.1-1420K3writtennot stated yet
1.3.1-1620K6writtennot stated yet
1.3.1-2020K6writtennot stated yet
1.3.1-2421K6writtennot stated yet
1.3.1-1822K8writtennot stated yet
1.3.1-2124K6writtennot stated yet
1.3.1-1726K6writtennot stated yet
1.3.1-2327K6writtennot stated yet
1.3.1-2228K6writtennot stated yet
1.3.1-2530informalwrittennot stated yet
1.3.1-2632K6writtennot stated yet

Something is wrong? Report it.