This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: macro's and local variables


>>> On 18.10.12 at 10:52, Mischa Baars <mjbaars1977@gmail.com> wrote:
> Since I would like to interface with C, you would get as demonstrated in 
> the attachments. I didn't know that 'shl' is accepted by the C compiler. 
> Seems to work for now though.

Maybe you just don't reference the respective symbols from
C source? But even once you do, you could

#define shl <<

guarded by some #if to hide it when translating .S files.

Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]