TAOCP 1.4.3.1: A MIX Simulator
Section 1.4.3.1 exercises: 8/8 solved.
Section 1.4.3.1. A MIX Simulator
Exercises from TAOCP Volume 1 Section 1.4.3.1: 8/8 solved.
| # | Rating | Category | Status | Time |
|---|---|---|---|---|
| 1 | [14] | simple | verified | 1m20s |
| 2 | [20] | medium | solved | 5m08s |
| 3 | [22] | medium | verified | 2m37s |
| 4 | [14] | simple | verified | 39s |
| 5 | [24] | medium | solved | - |
| 6 | [28] | hard | verified | 54s |
| 7 | [32] | hard | solved | - |
| 8 | [20] | medium | solved | 2m25s |
Practice
›
Mathematics
›
TAOCP
›
TAOCP Vol 1: Fundamental Algorithms
›
TAOCP 1.4.3.1: A MIX Simulator
›
TAOCP 1.4.3.1 Exercise 1
The subroutine `FCHECK` is called whenever an instruction uses a field specification.
Practice
›
Mathematics
›
TAOCP
›
TAOCP Vol 1: Fundamental Algorithms
›
TAOCP 1.4.3.1: A MIX Simulator
›
TAOCP 1.4.3.1 Exercise 2
The missing routine must be written in the conventions of Program M.
Practice
›
Mathematics
›
TAOCP
›
TAOCP Vol 1: Fundamental Algorithms
›
TAOCP 1.4.3.1: A MIX Simulator
›
TAOCP 1.4.3.1 Exercise 3
The failure is entirely caused by using a non-existent MIX instruction `JLE`.
Practice
›
Mathematics
›
TAOCP
›
TAOCP Vol 1: Fundamental Algorithms
›
TAOCP 1.4.3.1: A MIX Simulator
›
TAOCP 1.4.3.1 Exercise 4
Exercise 1.
Practice
›
Mathematics
›
TAOCP
›
TAOCP Vol 1: Fundamental Algorithms
›
TAOCP 1.4.3.1: A MIX Simulator
›
TAOCP 1.4.3.1 Exercise 5
Let S=\sum_{1<k\le n}\frac{H_k}{k(k-1)}.
Practice
›
Mathematics
›
TAOCP
›
TAOCP Vol 1: Fundamental Algorithms
›
TAOCP 1.4.3.1: A MIX Simulator
›
TAOCP 1.4.3.1 Exercise 6
Let the MIX simulator execute an instruction by the control transfer at label `CYCLE` after each simulated instruction, as specified in Program M.