ALU working except for comparison failure at line 1.
Posted by HighSchoolerWhoAsksHowTooMuch on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/ALU-working-except-for-comparison-failure-at-line-1-tp4036695.html
When I run ALU-nostat.tst, the code executes perfectly. However, when I run ALU.tst, the code stops on line 1. If I then click the forward arrow again and allow it to test out the following test cases, it seems to work. I compared the output file generated with the compare file and I think that everything matches. The error seems to be before the cases are tested out because the output file is empty (only with the input and output column headers) before I click the forward arrow again.
set x %B0000000000000000, // x = 0
^ is the line where the test script stops. It is strange because it does not stop here:
set x %B0000000000000000,
on the no-stat script.