Tom1984 wrote
I have noticed that the CPU Emulator is removing 6 lines from my assembly code when I run it against the test script. I'm not sure if this is expected behaviour (perhaps it removes lines that are redundant?) or if this might explain the problem...
The simulator should not be removing any code. Make sure that the .tst file you are loading is in the same directory as your source code. I've confused myself more than a few times; I have a tree of student files and sometimes the student's reported bug doesn't match the actual bug that's occurring 8-(
Also, if it looks like your program isn't running to completion, you may need to increase the numbers in the "repeat" statements in the Mult.tst file; they are rather small.
--Mark