gnupic: Error [157] Can't evaluate expression
Subject:
Re: Error [157] Can't evaluate expression
From:
"Eric Smith" ####@####.####
Date:
27 Aug 2001 23:47:34 -0000
Message-Id: <12370.208.227.9.197.998956052.squirrel@ruckus.brouhaha.com>
> Note that I did at least include the macro's
> comment, although not the copyright notice it does indicate it is your
> code and gives a hint to its restricted use.
Yes, thanks for including that.
> Do you have a pointer the original files?
http://www.brouhaha.com/~eric/ubicom/fduart/
I'm sorry that I don't currently have time to figure out why it's not
working with the current GPASM. It might be as simple as problems with
capitalization; try invoking GPASM with the option to turn off case
sensitivity (which used to be the default, but was changed to match
MPASM).
If that doesn't do it, you could probably just strip out all the
alignment code, although then you don't get the single-instruction
optimization. The following code is untested:
; buffer ring macro, untested, public domain, by Eric Smith, 27-aug-2001
ringadv macro ptr,base,size
incf ptr
movf ptr,w
xorlw base+size
movlw base
btfsc status,z
movwf ptr
endm