gnupic: gpasm chokes on #IF


Previous by date: 16 Apr 2004 00:16:30 +0100 Re: pulse counting using timer1, Phil
Next by date: 16 Apr 2004 00:16:30 +0100 Re: pic pong with gpsim, Ralf Forsberg
Previous in thread:
Next in thread: 16 Apr 2004 00:16:30 +0100 Re: gpasm chokes on #IF, Craig Franklin

Subject: gpasm chokes on #IF
From: David Willmore ####@####.####
Date: 16 Apr 2004 00:16:30 +0100
Message-Id: <200404152316.i3FNGPrl030198@localhost.localdomain>

From looking at the manual, it's sort of unclear if there is
a preprocessor invoked by default when using gpasm to assemble
code.  It does mention that #something will be handled by the
prepreocessor (whitness #define), but #IF seems not to work.

If I remove the #, then the IF .... ENDIF clauses work just
fine.

Is this just anohter of those MPASM will accept *anything* kind
of situations?

This is only an issue to me as it's someone elses code and every
time he sends it to me I have to take out all of the #'s.  I
don't use MPLAB or any of the Windows programs, so I don't know
if it's safe to recommend to the author to just take the #'s
out.  Is that functional over there in Windows land?

Cheers,
David

Previous by date: 16 Apr 2004 00:16:30 +0100 Re: pulse counting using timer1, Phil
Next by date: 16 Apr 2004 00:16:30 +0100 Re: pic pong with gpsim, Ralf Forsberg
Previous in thread:
Next in thread: 16 Apr 2004 00:16:30 +0100 Re: gpasm chokes on #IF, Craig Franklin


Powered by ezmlm-browse 0.20.