gnupic: Problem with Predko-derived macros


Previous by date: 12 Dec 2005 04:33:38 +0000 Re: [gnupic] Problem with Predko-derived macros, Mark Rages
Next by date: 12 Dec 2005 04:33:38 +0000 Re: [gnupic] Re: sdcc and USB, Ben Dugan
Previous in thread: 12 Dec 2005 04:33:38 +0000 Problem with Predko-derived macros, Mark Rages
Next in thread:

Subject: Re: Problem with Predko-derived macros
From: Mark Rages ####@####.####
Date: 12 Dec 2005 04:33:38 +0000
Message-Id: <74ee72ca0512112033ge9396cbx5394cb9107eaf39e@mail.gmail.com>

My complaint is a duplicate of Ben Dugan's message "Passing relational
operators to macros" from August 31.  He was looking at the same code.

I have tried and failed to understand the macro implementation of
gpasm, so I guess I'm not going to be the one to fix it.

Regards,
Mark
markrages@gmail

On 12/11/05, Mark Rages ####@####.#### wrote:
> I am trying to compile this:
>
> http://pe.ece.olin.edu/ece/projects/lab2_18F2455.zip
>
> with gpasm.
>
> According to the readme, it uses macros derived from Myke Predko's books.
>
> A lot of the macros take an argument that is supposed to be a
> relational operator, such as "==","<","!=" etc.
>
> Here's a snippet, where "relop" is the argument I am referring to:
>
> until           macro           var,relop,lit
>                         if (1 relop 1)                                          ; See if relop is ==
>                                 movf    var,W,BANKED
>                          ...
>
> The problem is, gpasm, thinks (1 relop 1) is a syntax error.  I
> suppose MPASM is fine with it.
>
> Is there a simple way to address this?  I can't think of any easy way
> to get this code to compile with gpasm.
>
> Regards,
> Mark
> markrages@gmail
> --
> You think that it is a secret, but it never has been one.
>   - fortune cookie
>


--
You think that it is a secret, but it never has been one.
  - fortune cookie

Previous by date: 12 Dec 2005 04:33:38 +0000 Re: [gnupic] Problem with Predko-derived macros, Mark Rages
Next by date: 12 Dec 2005 04:33:38 +0000 Re: [gnupic] Re: sdcc and USB, Ben Dugan
Previous in thread: 12 Dec 2005 04:33:38 +0000 Problem with Predko-derived macros, Mark Rages
Next in thread:


Powered by ezmlm-browse 0.20.