www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/29/17:06:24

Date: Sun, 29 Aug 1999 21:13:03 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199908291913.VAA01870@acp3bf.physik.rwth-aachen.de>
To: djgpp AT delorie DOT com
Subject: Re: Assembly Question, sarl, sall...REPT# ENDM??
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <199908272202 DOT SAA19843 AT delorie DOT com> you wrote:
> In TASM you can use:

> REPT 40     
[...]
> ENDM

That's an assembler macro. And no, gas itself doesn't support
macros. For that, you'ld need 'gasp', the GNU ASsembler
Preprocessor. For some simple cases, using assembly-via-C-Preprocessor
(files named *.S, and gcc compiles them) can work.


--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019