Re: Can't load .asm to CPU emulator

Posted by WBahn on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Can-t-load-asm-to-CPU-emulator-tp4035309p4035316.html

You have the extensions hidden, so I can't tell what file you are actually attempting to load.

The directory provided comes with three files:

mult.asm
Mult.cmp
Mult.tst

Notice that the file you need to be loading, "mult.asm", starts with a lower-case 'm' while the other two start with an uppercase 'M'. Perhaps the provided files have been changed to address this inconsistency, my download is a couple years old.

Have you added your assembly code to the mult.asm file? That file, as provided, has no code in it. Try modifying it with just

D=0

and see if you get anything different.

If you have put assembly code into it, then you likely have put something in there that it is choking on. Are you getting any messages on the status line (the very bottom of the window, which sometimes is off the screen).