This looks like a really neat book! It teaches you how a computer works while building one (using emulators) starting with logic gates and ending with software. Recommendations are high.
The Elements of Computing Systems: Building a Modern Computer from First Principles
by Noam Nisan and Shimon Schocken, The MIT Press, 2005.
At Amazon.