whilst debugging my assembler, i noticed that if the .hack file contains a new line at the end, the comparison will work successfully but the program won't run in the CPU emulator. i’m not sure if this is intended but it was quite confusing whilst debugging.
here's a
pastebin to a Pong.hack with the new line
i have also noticed that after loading a .hack file into the CPU emulator, any attempts to load a subsequent .hack file won't work and requires you to close the webpage and re-open it. the file picker will stay open and no program will get loaded.