Mail Archives: djgpp/2001/07/27/12:45:31
I discovered that I needed to use an .S instead of an .s, based on the
number of errors received when I tried to use .s. Now, when I compile the
program, I get a list of warnings (No Errors!!!) There are basically two,
the first is:
com.c:2514 warning: ignoring pragma:argsused
^^^^
The other one is the same, but for line 2555
The warning that has me confused is:
d:/djgpp/tmp\ccCdyapr.s: Assembler messages:
d:/djgpp/tmp\ccCdyapr.s:41: Warning: indirect ljmp without '*'
^^
There are warnings for line number 41-56 with exactly the same
message.
Now, because the above .s file is temporary, how can I tell what it is
doing? If it would help, I can include the origional.S file. I think that
the warnings may be unimportant because the program compiles and appears
to be working, except that it can't open the com port (it reports that
there is no UART at the specified address) The only reason that I mention
the warnings is because I don't know any assembly and thought that they
could be important? Thanks for all of the help so far!
-Ian-
- Raw text -