I've known about this for a while now. This will teach how to build a computer from the simplest binary logic, up to writing and building your own compiler to run the hardware you built to begin with. This is NAND to Tetris. Yeah, dev your orn NAND logic and build on it, build to the point of writing high level code to run on what you built. You will know a computer inside and out from the electron level.
http://www.nand2tetris.org/