This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
using __asm__
- To: Tat Kee Tan <tktan at EE dot Princeton dot EDU>
- Subject: using __asm__
- From: Tat Kee Tan <tktan at EE dot Princeton dot EDU>
- Date: Thu, 10 May 2001 12:35:40 -0400 (EDT)
- cc: <binutils at sourceware dot cygnus dot com>
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