|
A file containing assembly language statements must have the file extension .asm. A file containing Hack machine language codes must have the extension .hack. If you load a file containing assembly language instructions, but having the extension .hack, you will get the error you described. A .hack file may contain only 16-character strings of zeros and ones. I think each line must be left justified.
I was able to reproduce your errors by incorrect file extension use.
|