Xref: news2.mv.net comp.os.msdos.djgpp:5675 From: "F.G." Newsgroups: comp.os.msdos.djgpp Subject: Redefined labels in GAS Date: 4 Jul 1996 23:11:05 GMT Organization: None Lines: 12 Message-ID: <4rhj29$8ca@news7.erols.com> NNTP-Posting-Host: as6s59.erols.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I've run into a small snag with a section of my program written for GAS. In it, I use a macro which contains a label. Later in the code I call the macro 8 times as part of an unrolled loop. Not surprisingly, it gives me an error telling me that the label has already been defined. I believe that TASM has a directive called "local" which allows labels to be placed in macros and cause the lables to act as if they were in functions. In other words, using the macro multiple times in the program will not yield "redefined label" errors. Since GAS does not directly support macros AFAIK, there seems to be no such directive. Is there any way to get around my problem? Thanks in advance.