gnupic: Problem with Predko-derived macros
Subject:
Problem with Predko-derived macros
From:
Mark Rages ####@####.####
Date:
11 Dec 2005 23:17:43 +0000
Message-Id: <74ee72ca0512111517p703ce8a0l3b296b4f58d60819@mail.gmail.com>
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