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]

asm help




 Hi,
 In my GCC C function when i try to use inline asm inside a finction i am
 getting parser error.
 For example in the following function -
 asm("
                            movb $0x80,%al
                            movw "lcr" , %dx
                            outb %al, %dx   "); where lcr is a variable.Can
u
 tell me how can i make it correct? or from where i can find the detail
 description of function asm()
 Please help me out
 Reny



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