Shop OBEX P1 Docs P2 Docs Learn Events
TUTO40.SRC & SASM.dll compilation error — Parallax Forums

TUTO40.SRC & SASM.dll compilation error

Sens-a-DatSens-a-Dat Posts: 44
edited 2008-03-08 01:12 in General Discussion
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
Sign In or Register to comment.