Hi
On Wed, Jul 26, 2006 at 01:10:31PM +1000, Nigel Pearson wrote:
[...]
> >heres what the gas manual says about lines starting with #
> >---
> >To be compatible with past assemblers, lines that begin with `#'
> >have a special interpretation. Following the `#' should be an absolute
> >expression (*note Expressions::): the logical line number of the _next_
> >line. Then a string (*note Strings: Strings.) is allowed: if present
> >it is a new logical file name. The rest of the line, if any, should be
> >whitespace.
>> Yes, but it goes on...
>> If the first non-whitespace characters on the line are not numeric, the
> line is ignored. (Just like a comment.)
>>> nop is is not a numeric expression, but to be
> perfect, the line should be something like " # nop"?
> Sadly, that requires re-writing of the macros.
if you do that, use #define NOP " # nop" and then use NOP
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is