Changing GAS for ARM to accept semicolon as a comment character ?
Jason R Thorpe
thorpej@wasabisystems.com
Fri Apr 12 09:54:00 GMT 2002
On Fri, Apr 12, 2002 at 11:53:56AM +0100, Nick Clifton wrote:
> GAS for the ARM currently supports ';' as a line separator character
> and '@' as a line comment character. Would anyone object to my
> changing this so that ';' was also a line comment character and
> dropping the support for multiple instructions on a single line ?
> (Or else choosing a different character for a line separator).
It is quite common to have pre-processed assembly code which has multi-line
macros with semi-colons in it, e.g.:
#define DO_SOMETHING \
insn1 ; \
insn2 ; \
insn3 ; \
insn4
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
More information about the Binutils
mailing list