SICP — Scheme/JS Structure and Interpretation of Computer Programs — Comparison Edition
5.2  A Register-Machine Simulator