This is the mail archive of the binutils@sources.redhat.com 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]

using __asm__


Hi,

I wish to have these asm in C using __asm__

mov r0, flags
mov r1, usp

where flags and usp are 32bit long C variable.
how should I do that ?

The doc in info gcc is not clear at all.

tatkee





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