[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
gpasm: .direct macro doesn't work
From: "Scott Dattalo" ####@####.#### Date: 5 Oct 2007 05:50:18 +0100 Message-Id: <60779.71.139.6.43.1191559802.squirrel@ruckus.brouhaha.com> A few weeks ago I updated my local CVS copy of gputils. I had to make a minor change to accommodate the P12F510. But I discovered that the .direct macros now fail. These macros are used extensively by gpsim to embedded simulator commands and assertions. For example take a look at one of the gpsim regression tests http://gpsim.svn.sourceforge.net/viewvc/gpsim/trunk/regression/instructions_14bit/branching.asm?view=log The '.sim' and '.assert' macros are defined in coff.inc: ; Assertion .assert macro x .direct "a", x endm ; Simulator Command .sim macro x .direct "e", x endm $ make branching.cod gpasm -c branching.asm /usr/local/share/gputils/header/coff.inc:126:Error [124] Illegal argument (e). /usr/local/share/gputils/header/coff.inc:126:Error [124] Illegal argument (e). /usr/local/share/gputils/header/coff.inc:126:Error [124] Illegal argument (e). /usr/local/share/gputils/header/coff.inc:121:Error [124] Illegal argument (a). etc. The error is from gputils/gputils/gpasm/evaluate.c line 84. David, I know you have made many changes to gpasm recently. Do you know what may be happening here? Or does anyone else have some insight? Scott | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |