As far as I can remember this book appeared on a best-of list either on Hacker News or some other site associated with Y Combinator. The book teaches how computers work starting with boolean logic, and on up through circuits, processors, and assembly language. Student exercises are based on simulation, each time building on what was learned in the earlier (lower) layer. The author may be Israeli or working at an Israeli institution.
Any pointers are welcome.