[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
.set and .equ do not work in the .intel_syntax mode
From: |
Alexander . Muratov |
Subject: |
.set and .equ do not work in the .intel_syntax mode |
Date: |
Thu, 24 Apr 2003 13:34:54 +0400 |
Hi,
I'm porting MASM sources to GAS and using .intel syntax noprefix mode.
But I've discovered, that symbol values in the .equ directive do not
substitutes in the text.
All correct in .att_syntax, but there is a problem for .intel_syntax.
I have found discussion about that problem in the mailing list dated
January 2002 (http://sources.redhat.com/ml/binutils/2002-01/msg00265.html).
For example:
.intel_syntax noprefix
.equ cond, 0x1f
or eax, cond
Can anybody fix that?
For now I'm using gcc preprocessing: #define symbol value
instead of .equ symbol, value
Thanks.
Alexander Muratov
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- .set and .equ do not work in the .intel_syntax mode,
Alexander . Muratov <=