My translator generates the following lines in the .asm program:
The second of these lines gives rise to a "Destination Expected" error when I try to load the file into the CPU emulator. Any ideas why that might be?
Obviously something's confusing the parser since this is valid code. I'd guess that there is a line ending problem, or maybe a null (0) byte or other invisible character somewhere. What language are you using to write your translator?
If you wrote an assembler, can your assembler handle the output from your translator? That might offer a clue.
You could also upload the entire problem file (More options button) and I can take a look at it in detail.