Re: Introduction to Hack Assembly Language

Posted by WBahn on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Introduction-to-Hack-Assembly-Language-tp4032232p4034832.html

There are many ways to decode the instruction to get the control signals for the various parts of the CPU, but one conceptually simple way is just as you describe -- make separate logic blocks for a given control signal based on each type of instruction and then use a Mux to select which block to use via another logic block that just determines what type of instruction it is. That will likely result in the easiest to understand implementation, but probably not the most efficient -- but since we don't care about efficiency here, that's fine.