Are you thinking of &quot;The Elements of Computing Systems: Building a Modern Computer from First Principles&quot;
&lt;<a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Elements-Computing-Systems-Building-Principles&#x2F;dp&#x2F;0262640686&#x2F;&gt;" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Elements-Computing-Systems-Building-Pr...</a> by Noam Nisan and Shimon Schocken?