TUTO40.SRC & SASM.dll compilation error
Gents,
I have taken Gunther's TUTO40.SRC code from his Programming the SX Microcontroller and wanted to take some of the various parts of the program and make them INCLUDE files. I know there is a limit of 10 INCLUDE statements per code, but I am getting an error when I only get to five INCLUDE statements for this program.
Attached is a ZIP file which contains Gunther's original TUTO40.src file and the files I created through removal of various parts of his program and made them INCLUDE files. When I go to compile the program (TUTO40 Revised.src), I get a Microsoft crash report saying there has been an encountered error in SASM.dll.
Now, if I remove the 'include "ProgramData.inc" ' and place that file back into the main code, it compiles fine. After you place that file back into the main code, now uncomment ';include "test.src" ' and you will see that you get the same error response. Strangely to me is that the test.src file only contains a ";" command.
I am sure there is something very simple I am overlooking, but I just cannot see it. Can anyone help me understand what I am failing to recognize?
Thank you,
Gary
I have taken Gunther's TUTO40.SRC code from his Programming the SX Microcontroller and wanted to take some of the various parts of the program and make them INCLUDE files. I know there is a limit of 10 INCLUDE statements per code, but I am getting an error when I only get to five INCLUDE statements for this program.
Attached is a ZIP file which contains Gunther's original TUTO40.src file and the files I created through removal of various parts of his program and made them INCLUDE files. When I go to compile the program (TUTO40 Revised.src), I get a Microsoft crash report saying there has been an encountered error in SASM.dll.
Now, if I remove the 'include "ProgramData.inc" ' and place that file back into the main code, it compiles fine. After you place that file back into the main code, now uncomment ';include "test.src" ' and you will see that you get the same error response. Strangely to me is that the test.src file only contains a ";" command.
I am sure there is something very simple I am overlooking, but I just cannot see it. Can anyone help me understand what I am failing to recognize?
Thank you,
Gary