Re: cpu problem in inM pin loading

Posted by WBahn on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/cpu-problem-in-inM-pin-loading-tp4034519p4034522.html

Thanks for updating the initial post with that information.

In the CPU.cmp file, the inM is never '*', it is always either 0 or 11111.

The outM, on the other hand, is usually '*' except for a few times when it's value should be a specific, known value.

It's hard to tell you what you're doing wrong until you tell US what went wrong.

If the test says that there was a comparison failure on a certain line, then tell us what line and provide the output, at least for that line, from both the .out and the .cmp file. The feedback is give to you to help you track down the error, don't deny that feedback to the people you are asking for help from.