gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Documentation for $ shortcut for line number
From: Colin Kuskie
Date: Tue, 14 Jan 2003 15:05:21 -0800

I've borrowed a few books in order to try to learn PIC programming,
and in one of them I noticed this construct:

	GOTO	$ - 1

where it explains that $ is expanded to the current line number.  I
tried this in gpasm and was pleased to see that it's supported, but
appears to be undocumented in the manual.


Since I have a little free time, I'd like to send in a documentation
patch for this and others.  If y'all know of any other constructs that
you'd like documented that I haven't come across yet, please email them
to me via the list with a short explanation and I'll add them.

Colin Kuskie

gnupic@linuxhacker.org