This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: [Fwd: ARM GCC inline assembly]


"Ganesh Tawde" <ganesh.tawde@patni.com> writes:

> I am trying to use the below pure assembly code as inline assembly in C.
> The pure assembly code gives proper data but the inline assembly code
> gives me distorted data. I am not able to figure out the problem. can any
> body help me on this?

Compile with --save-temps, and compare the .s file generated from the
C code to the assembler code which is known to work.  Perhaps that
will suggest something.

Ian


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