If you're actually looking for something that
does build to a virtual computer, Nand2Tetris (second edition of the book
The Elements of Computing Systems that goes with it is now out) is a great companion to
Code:
https://www.nand2tetris.org/.
Code is more high level, Nand2Tetris and Elements is project based but covers some similar territory.