If you think that you still have conceptual problems with the ALU, there's a nice
worksheet to help.
It can also be problematic to get the status flags debugged when the computation is not yet working. These test files will check only the computation:
ALU-nostat.tst,
ALU-nostat.cmp. Once ALU-nostat.tst passes you can use ALU.tst to check the status flags.
--Mark